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

Disassembly:
mov eax, dword [0x223f100]
sub esp, 0x12c
push ebx
push ebp
mov ebx, ecx
cmp dword [eax + 0x1ec], 5
push esi
push edi
je 0x46a0b5
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
mov edi, eax
mov eax, dword [0x223f100]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x46a0bf
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 0x46a04e
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x46a04e
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 [0x223f100]
xor eax, eax
add ecx, 0xc
lea esp, [esp]
cmp dword [ecx], 0
je 0x46a070
inc eax
add ecx, 0x60
cmp eax, 5
jl 0x46a060
jmp 0x46a0bf
call esi
sub eax, edi
cmp eax, 0x7530
ja 0x46a08a
mov edx, dword [0x223f100]
mov eax, dword [edx + 4]
test eax, eax
je 0x46a010
jmp 0x46a0bf
push str.Character_Data_Receving_Error
push 0xff
push 0xff
push 0xff
push 0
call fcn.004c5540
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, 0x2209408
call fcn.00542400
mov eax, dword [0x7085b8]
mov ecx, dword [0x7085b4]
push 0x43c80000
push 0x3dcccccd
push eax
push ecx
mov ecx, 0x220e060
mov dword [0x220e244], 0x41200000
call fcn.005acf50
mov ecx, 0x220e060
call fcn.005ace00
mov ecx, 0x220e060
call fcn.005acd00
push 0
mov ecx, 0x71d0f0
call fcn.004478a0
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x2209408
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.00542560
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], 0x438983d7
mov dword [esp + 0x18], 0x3fe0e560
mov dword [esp + 0x1c], 0x4334322d
call fcn.005a7030
mov eax, dword [0x22094c8]
mov ecx, dword [0x22094cc]
mov edx, dword [0x22094d0]
mov esi, dword [0x7198d0]
mov dword [0x220e060], eax
mov eax, dword [0x22094d4]
mov dword [0x220e06c], eax
mov eax, dword [0x22094e0]
mov dword [0x220e064], ecx
mov ecx, dword [0x22094d8]
mov dword [0x220e068], edx
mov edx, dword [0x22094dc]
mov dword [0x220e078], eax
mov al, byte [0x21fd8d6]
mov dword [0x220e070], ecx
mov ecx, dword [0x22094e4]
mov dword [0x220e074], edx
mov edx, dword [0x22094e8]
add esp, 4
test al, al
mov dword [0x220e07c], ecx
mov dword [0x220e080], edx
mov dword [0x7198d0], 1
je 0x46a244
cmp al, 2
je 0x46a244
push 0
push str.select_B.wld
push str.data_world
mov ecx, 0x71d0f0
call fcn.004518a0
test al, al
jne 0x46a24d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x12c
ret
push 0
push str.select_A.wld
jmp 0x46a224
mov ecx, 0x220e060
mov dword [0x7198d0], esi
call fcn.005ace00
mov ecx, 0x220e060
call fcn.005acd00
mov eax, dword [0x2209400]
mov ecx, 0xffcccccc
push ecx
push 0x8b
mov dword [0x85d13c], ecx
mov dword [0x2209744], ecx
mov dword [0x85d138], 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 [0x2209400]
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 [0x2209400]
mov ecx, dword [eax]
push 1
push 0
push eax
call dword [ecx + 0xd4]
mov eax, dword [0x2209400]
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 0x2209408
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.005e52de
lea ecx, [esp + 0xfc]
push ecx
lea edx, [esp + 0x40]
push edx
mov eax, edx
push eax
call fcn.005e4b32
lea ecx, [esp + 0x3c]
push ecx
mov edx, ecx
push edx
call fcn.005e484f
mov eax, dword [0x22094c8]
mov ecx, dword [0x22094cc]
mov edx, dword [0x22094d0]
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.005e4b32
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x40]
push edx
push 5
push eax
call dword [ecx + 0x178]
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x50]
push edx
push 6
push eax
call dword [ecx + 0x178]
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x78]
push edx
push 7
push eax
call dword [ecx + 0x178]
mov eax, dword [0x2209400]
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 [0x2209400]
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 [0x22094ec], 0xbf0353f8
mov dword [0x22094f0], 0xbf800000
mov dword [0x22094f4], 0x3f5ba5e3
mov dword [0x70b9c8], 0x3ca3d70a
xor esi, esi
mov eax, dword [0x223f100]
lea edi, [ebx + 0x54]
lea esp, [esp]
mov ecx, dword [esi + eax + 0x10]
test ecx, ecx
je 0x46a579
lea eax, [esi + eax + 0x50]
push eax
mov ecx, edi
call fcn.00527350
mov eax, dword [0x223f100]
add esi, 0x60
add edi, 0x5d8
cmp esi, 0x1e0
jl 0x46a560
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x12c
ret