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

Disassembly:
mov eax, dword [0x2225648]
sub esp, 0x12c
push ebx
push ebp
mov ebx, ecx
cmp dword [eax + 0x1ec], 5
push esi
push edi
je 0x466a15
mov esi, dword [sym.imp.winmm.dll_timeGetTime]
call esi
mov edi, eax
mov eax, dword [0x2225648]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x466a1f
mov ebp, dword [sym.imp.user32.dll_PeekMessageA]
mov edi, edi
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
call ebp
test eax, eax
je 0x4669ae
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.user32.dll_GetMessageA]
test eax, eax
je 0x4669ae
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.user32.dll_TranslateMessage]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.user32.dll_DispatchMessageA]
mov ecx, dword [0x2225648]
xor eax, eax
add ecx, 0xc
lea esp, [esp]
cmp dword [ecx], 0
je 0x4669d0
inc eax
add ecx, 0x60
cmp eax, 5
jl 0x4669c0
jmp 0x466a1f
call esi
sub eax, edi
cmp eax, 0x7530
ja 0x4669ea
mov edx, dword [0x2225648]
mov eax, dword [edx + 4]
test eax, eax
je 0x466970
jmp 0x466a1f
push str.Character_Data_Receving_Error
push 0xff
push 0xff
push 0xff
push 0
call fcn.004bd270
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x12c
ret
mov dword [eax + 0x1ec], 0
mov ecx, 0x21f1c78
call fcn.00530be0
mov eax, dword [0x6f3578]
mov ecx, dword [0x6f3574]
push 0x43c80000
push 0x3dcccccd
push eax
push ecx
mov ecx, 0x21f68d0
mov dword [0x21f6ab4], 0x41200000
call fcn.00598cd0
mov ecx, 0x21f68d0
call fcn.00598b80
mov ecx, 0x21f68d0
call fcn.00598a80
push 0
mov ecx, 0x7072a0
call fcn.00446370
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x21f1c78
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0x3f800000
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x43878c6a
mov dword [esp + 0x78], 0x3fcd9168
mov dword [esp + 0x7c], 0x433283d7
mov dword [esp + 0x1c], 0x438983d7
mov dword [esp + 0x20], 0x3ffa7efa
mov dword [esp + 0x24], 0x4334322d
call fcn.00530d40
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], 0x438983d7
mov dword [esp + 0x18], 0x3fe0e560
mov dword [esp + 0x1c], 0x4334322d
call fcn.00592fb0
mov eax, dword [0x21f1d38]
mov ecx, dword [0x21f1d3c]
mov edx, dword [0x21f1d40]
mov esi, dword [0x703a90]
mov dword [0x21f68d0], eax
mov eax, dword [0x21f1d44]
mov dword [0x21f68dc], eax
mov eax, dword [0x21f1d50]
mov dword [0x21f68d4], ecx
mov ecx, dword [0x21f1d48]
mov dword [0x21f68d8], edx
mov edx, dword [0x21f1d4c]
mov dword [0x21f68e8], eax
mov al, byte [0x21e6a42]
mov dword [0x21f68e0], ecx
mov ecx, dword [0x21f1d54]
mov dword [0x21f68e4], edx
mov edx, dword [0x21f1d58]
add esp, 4
test al, al
mov dword [0x21f68ec], ecx
mov dword [0x21f68f0], edx
mov dword [0x703a90], 1
je 0x466ba4
cmp al, 2
je 0x466ba4
push 0
push str.select_B.wld
push str.data_world
mov ecx, 0x7072a0
call fcn.004503a0
test al, al
jne 0x466bad
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x12c
ret
push 0
push str.select_A.wld
jmp 0x466b84
mov ecx, 0x21f68d0
mov dword [0x703a90], esi
call fcn.00598b80
mov ecx, 0x21f68d0
call fcn.00598a80
mov eax, dword [0x21f1c70]
mov ecx, 0xffcccccc
push ecx
push 0x8b
mov dword [0x8472ec], ecx
mov dword [0x21f1fb4], ecx
mov dword [0x8472e8], 0x3f800000
mov edx, dword [eax]
push eax
call dword [edx + 0xe4]
xor eax, eax
lea edx, [esp + 0x94]
mov ecx, 0x1a
lea edi, [esp + 0x94]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov eax, dword [0x21f1c70]
push 0
mov dword [esp + 0x9c], 3
mov dword [esp + 0xa0], 0x3f800000
mov dword [esp + 0xa4], 0x3f800000
mov dword [esp + 0xa8], 0x3f800000
mov dword [esp + 0xdc], 0xbf0353f8
mov dword [esp + 0xe0], 0xbf800000
mov dword [esp + 0xe4], 0x3f5ba5e3
mov ecx, dword [eax]
push eax
call dword [ecx + 0xcc]
mov eax, dword [0x21f1c70]
mov ecx, dword [eax]
push 1
push 0
push eax
call dword [ecx + 0xd4]
mov eax, dword [0x21f1c70]
push 1
lea ecx, [esp + 0x30]
push ecx
push 0
mov dword [esp + 0x38], 0x3f800000
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0x443f40a4
mov edx, dword [eax]
push eax
call dword [edx + 0x178]
mov dword [esp + 0x14], 0xbf800000
mov eax, dword [esp + 0x14]
push 0x21f1c78
mov dword [esp + 0x14], 0xbf0353f8
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edx
push 0
lea eax, [esp + 0x104]
mov dword [esp + 0x20], 0x3f5ba5e3
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], 0
mov edx, dword [esp + 0x24]
push eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x80], 0x3f800000
mov dword [esp + 0x84], 0x3f800000
mov dword [esp + 0x88], 0x3f800000
mov dword [esp + 0x8c], 0x3f800000
mov dword [esp + 0x90], 0x3f4ccccd
mov dword [esp + 0x94], 0x3f4ccccd
mov dword [esp + 0x98], 0x3f4ccccd
mov dword [esp + 0x9c], 0x3f800000
call fcn.005d09de
lea ecx, [esp + 0xfc]
push ecx
lea edx, [esp + 0x40]
push edx
mov eax, edx
push eax
call fcn.005d0232
lea ecx, [esp + 0x3c]
push ecx
mov edx, ecx
push edx
call fcn.005cff4f
mov eax, dword [0x21f1d38]
mov ecx, dword [0x21f1d3c]
mov edx, dword [0x21f1d40]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0xfc]
mov dword [esp + 0x50], ecx
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x58], edx
push ecx
mov edx, ecx
push edx
mov dword [esp + 0x64], 0
call fcn.005d0232
mov eax, dword [0x21f1c70]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x40]
push edx
push 5
push eax
call dword [ecx + 0x178]
mov eax, dword [0x21f1c70]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x50]
push edx
push 6
push eax
call dword [ecx + 0x178]
mov eax, dword [0x21f1c70]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x78]
push edx
push 7
push eax
call dword [ecx + 0x178]
mov eax, dword [0x21f1c70]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x88]
push edx
push 8
push eax
call dword [ecx + 0x178]
mov dword [esp + 0x18], 0x3f800000
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], 0x3f800000
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], edx
push 1
lea edx, [esp + 0x30]
mov dword [esp + 0x20], 0x41a00000
mov eax, dword [esp + 0x20]
push edx
mov dword [esp + 0x40], eax
mov eax, dword [0x21f1c70]
mov dword [esp + 0x1c], 0x3f800000
mov ecx, dword [esp + 0x1c]
push 9
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x178]
mov dword [0x21f1d5c], 0xbf0353f8
mov dword [0x21f1d60], 0xbf800000
mov dword [0x21f1d64], 0x3f5ba5e3
mov dword [0x6f5ce4], 0x3ca3d70a
xor esi, esi
mov eax, dword [0x2225648]
lea edi, [ebx + 0x54]
lea esp, [esp]
mov ecx, dword [esi + eax + 0x10]
test ecx, ecx
je 0x466ed9
lea eax, [esi + eax + 0x50]
push eax
mov ecx, edi
call fcn.00516b20
mov eax, dword [0x2225648]
add esi, 0x60
add edi, 0x4d4
cmp esi, 0x1e0
jl 0x466ec0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x12c
ret