Function at 0x10033020
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1019a497
mov eax, dword fs:[0]
push eax
sub esp, 0x75c
mov eax, dword [0x101e3158]
xor eax, esp
mov dword [esp + 0x758], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e3158]
xor eax, esp
push eax
lea eax, [esp + 0x770]
mov dword fs:[0], eax
cmp byte [0x101e77e0], 4
mov bl, byte [esp + 0x780]
je 0x10033085
cmp bl, 4
jne 0x10033085
push 0
call fcn.1011a151
add esp, 4
mov dword [0x101e77d8], eax
mov dword [0x101e77dc], edx
cmp byte [0x101e77e1], 0
mov byte [0x101e77e0], bl
je 0x100334a1
push 0x5b0
lea eax, [esp + 0x1c0]
push 0
push eax
call fcn.10118c20
movsx eax, bl
add esp, 0xc
sub eax, 2
je 0x10033446
sub eax, 1
je 0x1003343f
sub eax, 1
je 0x100330d3
push str.Logging_in
jmp 0x1003344b
mov ecx, dword [0x1199114]
call fcn.10026430
sub eax, 1
mov ebp, 0x10
je 0x10033174
sub eax, 1
je 0x10033165
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x1199114]
call fcn.100221d0
movzx edx, word [eax]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.10021e70
push eax
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x788], 0
call fcn.10019b90
add esp, 0x10
cmp dword [eax + 0x18], ebp
jb 0x10033132
mov eax, dword [eax + 4]
jmp 0x10033135
add eax, 4
push eax
lea edx, [esp + 0x250]
push edx
call fcn.101189bb
add esp, 8
lea ecx, [esp + 0x3c]
call fcn.10001fb9
lea ecx, [esp + 0x58]
mov dword [esp + 0x778], 0xffffffff
call fcn.10001221
jmp 0x10033189
push str.Job_Mode__Thief_
lea eax, [esp + 0x250]
push eax
jmp 0x10033181
push str.Job_Mode__Merchant_
lea ecx, [esp + 0x250]
push ecx
call fcn.101189bb
add esp, 8
push 1
mov ebx, 3
push ebx
lea ecx, [esp + 0x7c]
call fcn.10021dd0
mov ecx, dword [0x1199114]
lea edx, [esp + 0x184]
push edx
mov dword [esp + 0x77c], 1
call fcn.100232e0
mov edx, dword [esp + 0x19c]
cmp edx, 8
mov eax, dword [esp + 0x188]
mov byte [esp + 0x778], 2
mov esi, eax
jae 0x100331dc
lea esi, [esp + 0x188]
mov edi, dword [esp + 0x198]
lea esi, [esi + edi*2]
test esi, esi
je 0x1003320f
cmp edx, 8
mov ecx, eax
jae 0x100331f8
lea ecx, [esp + 0x188]
cmp ecx, esi
ja 0x1003320f
cmp edx, 8
jae 0x10033208
lea eax, [esp + 0x188]
lea eax, [eax + edi*2]
cmp esi, eax
jbe 0x10033214
call fcn.10117fcd
lea ecx, [esp + 0x34]
lea edi, [esp + 0x184]
push ecx
mov ecx, edi
call fcn.1001b8a0
mov edx, dword [eax + 4]
mov eax, dword [eax]
push esi
push edi
push edx
push eax
lea ecx, [esp + 0x1b0]
call fcn.1002fcc0
mov ecx, dword [0x1199114]
movzx edx, byte [ecx + 0xa14]
push edx
push str._Lv.
push 0x101a3d40
lea eax, [esp + 0x1ac]
push eax
lea ecx, [esp + 0x8c]
push 0x101a3d3c
push ecx
mov byte [esp + 0x790], bl
call fcn.1000185c
add esp, 8
push eax
call fcn.10032380
add esp, 8
push eax
call fcn.1000185c
add esp, 8
push eax
call fcn.1000185c
add esp, 8
mov ecx, eax
call fcn.1002a950
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x78]
call fcn.1001f410
cmp dword [eax + 0x18], ebp
jb 0x100332b2
mov eax, dword [eax + 4]
jmp 0x100332b5
add eax, 4
push eax
lea eax, [esp + 0x2d0]
push eax
call fcn.101189bb
add esp, 8
cmp dword [esp + 0x30], ebp
jb 0x100332d9
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10117c3c
add esp, 4
mov edi, 0xf
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
mov ecx, dword [0x1199114]
call fcn.10026430
test eax, eax
mov esi, vtable.std::ios_base.0
jne 0x10033364
push 1
push ebx
lea ecx, [esp + 0x104]
call fcn.10032f80
mov ecx, dword [0x1199114]
lea edx, [esp + 0x16]
push edx
mov byte [esp + 0x77c], 4
call fcn.100221d0
movzx eax, word [eax]
push eax
lea ecx, [esp + 0x108]
call fcn.10032600
lea ecx, [esp + 0x150]
mov byte [esp + 0x778], bl
call fcn.1002f530
lea ecx, [esp + 0x150]
push ecx
mov dword [esp + 0x154], esi
call fcn.10117353
add esp, 4
lea edx, [esp + 0x35c]
push 0x101a3d38
push edx
call fcn.101189bb
lea eax, [esp + 0x3e4]
push 0x101a3d34
push eax
call fcn.101189bb
lea ecx, [esp + 0x46c]
push str.efes_r
push ecx
call fcn.101189bb
lea edx, [esp + 0x4f4]
push 0x101a3d34
push edx
call fcn.101189bb
mov eax, dword [0x101e77d8]
mov ecx, dword [0x101e77dc]
add esp, 0x20
cmp dword [esp + 0x1b8], ebp
mov dword [esp + 0x34c], eax
mov dword [esp + 0x350], ecx
jb 0x100333e1
mov edx, dword [esp + 0x1a4]
push edx
call fcn.10117c3c
add esp, 4
lea ecx, [esp + 0x184]
mov dword [esp + 0x1b8], edi
mov dword [esp + 0x1b4], 0
mov byte [esp + 0x1a4], 0
mov byte [esp + 0x778], 1
call fcn.10001221
lea ecx, [esp + 0xc8]
mov dword [esp + 0x778], 0xffffffff
call fcn.1001d780
lea eax, [esp + 0xc8]
push eax
mov dword [esp + 0xcc], esi
call fcn.10117353
add esp, 4
jmp 0x1003347f
push str.Character_Selection
jmp 0x1003344b
push str.Server_Selection
lea ecx, [esp + 0x250]
push ecx
call fcn.101189bb
lea edx, [esp + 0x364]
push 0x101a3d38
push edx
call fcn.101189bb
lea eax, [esp + 0x3ec]
push 0x101a3d34
push eax
call fcn.101189bb
add esp, 0x18
mov ecx, dword [0x101e77fc]
mov eax, dword [0x101e77f4]
push 0x1002e3f0
push ecx
lea edx, [esp + 0x1c4]
push edx
push eax
mov eax, dword [eax + 8]
call eax
add esp, 0x10
mov ecx, dword [esp + 0x770]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x758]
xor ecx, esp
call fcn.1011850e
add esp, 0x768
ret