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

Disassembly:
sub esp, 0x7c
mov eax, dword [0xcdc190]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
mov ebx, dword [esp + 0x8c]
push ebp
mov ebp, dword [esp + 0x8c]
push esi
mov esi, ecx
mov eax, dword [esi + 0x1b78]
push edi
mov edi, dword [esp + 0x9c]
test eax, eax
je 0x47a80f
mov edx, dword [esp + 0x90]
push edi
lea ecx, [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax]
push ebx
push ebp
push edx
call eax
cmp al, 1
je 0x47ae4f
movzx eax, bx
cmp eax, 0x1fc
jg 0x47ab45
je 0x47ab22
cmp eax, 0x9f
jg 0x47a9ee
je 0x47a9c1
sub eax, 2
je 0x47a980
sub eax, 1
je 0x47a87f
sub eax, 2
jne case.0x47aa03.232
mov byte [esi + 0x1358], al
mov byte [esi + 0xc], al
pop edi
mov byte [0xd522bc], al
mov byte [0xd823bc], al
mov dword [esi + 0x1354], 1
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
push edi
call fcn.0041ace0
push edi
call fcn.00912070
lea eax, [esi + 0x1a5c]
add esp, 8
cmp byte [eax], 0
mov dword [esp + 0x10], eax
jne 0x47a8ca
push 1
push str.Alert_NotReceivedInfo
lea ecx, [esi - 0x54]
mov byte [esi + 0x1358], 0
call fcn.00478970
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
mov ebx, dword [esi + 0x1b68]
mov eax, ebx
cdq
push edx
lea ebp, [esi - 0x54]
push eax
mov ecx, ebp
call fcn.004782e0
mov edi, eax
test ebx, ebx
je 0x47a94d
test edi, edi
je 0x47a94d
mov ecx, dword [esi + 0x1b64]
mov edx, dword [esi + 0x1b60]
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [edi]
push edx
mov edx, dword [esi + 0x1a58]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
mov ecx, 0xd3a248
call fcn.0058a3d0
cmp al, 1
jne 0x47a944
add edi, 9
push edi
mov ecx, 0xdaf9b8
call fcn.008ef9f0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov byte [ecx], 0
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
push 1
push str.Alert_ConnectFailed
jmp 0x47a954
push 1
push str.Alert_NotFoundCharInfo
mov ecx, ebp
mov byte [esi + 0x1358], 0
call fcn.00478970
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov byte [ecx], 0
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
push edi
mov byte [esi + 0x1358], 0
call fcn.0041ace0
push edi
call fcn.00912070
push edi
call fcn.004d67c0
add esp, 0xc
push eax
push str.Alert_InvalidData
lea ecx, [esi - 0x54]
call fcn.00478890
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
push 1
push str.Alert_ConnectFailed
lea ecx, [esi - 0x54]
call fcn.00478970
pop edi
mov byte [esi + 0x1358], 0
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
sub eax, 0xe6
cmp eax, 0x43
ja case.0x47aa03.232
movzx edx, byte [eax + 0x47aedc]
jmp dword [edx*4 + 0x47aeb4]
mov ecx, dword [0xce1d00]
push edi
call fcn.00442600
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
mov ecx, dword [0xce1d00]
push edi
call fcn.00442670
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
mov ecx, dword [0xce1d00]
push edi
call fcn.00440780
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
mov ecx, dword [0xce1d00]
push edi
call fcn.004407d0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
mov ecx, dword [0xce1d00]
push edi
call fcn.00440840
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
mov ecx, dword [0xce1d00]
push edi
call fcn.004408f0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
mov ecx, dword [0xce1d00]
push edi
call fcn.004408a0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
mov ecx, dword [0xce1d00]
push edi
call fcn.00440a60
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
mov ecx, dword [0xce1d00]
push edi
call fcn.00440bb0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
cmp eax, 0x7da
jg 0x47ac60
je 0x47ac28
cmp eax, 0x3a1
jg 0x47abed
cmp eax, 0x3a0
jge 0x47ae42
cmp eax, 0x2a7
je 0x47aba1
cmp eax, 0x341
jne case.0x47aa03.232
mov ecx, dword [0xce1d00]
push edi
call fcn.004413b0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
mov esi, dword [edi + 0xc]
mov eax, dword [edi]
push 0x45
add eax, esi
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00a2b930
add esi, 0x45
mov dword [edi + 0xc], esi
mov edi, dword [0xce1d00]
add esp, 0xc
add edi, 0x28c8
mov ecx, 0x11
lea esi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
add eax, 0xfffffa88
cmp eax, 1
ja case.0x47aa03.232
push 1
push str.Alert_Disconnected
lea ecx, [esi - 0x54]
mov byte [esi + 0x1358], 0
call fcn.00478970
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
push edi
mov byte [esi + 0x1358], 0
call fcn.004d67c0
push eax
call fcn.008da210
add esp, 8
push 1
push eax
lea ecx, [esi - 0x54]
call fcn.00472340
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
cmp eax, 0x803
jg 0x47ae32
je 0x47ae42
sub eax, 0x7db
je 0x47adc5
sub eax, 2
je 0x47ac28
sub eax, 1
jne case.0x47aa03.232
push edi
mov byte [esi + 0x1358], 1
mov dword [esi + 0x135c], eax
call fcn.00912070
mov dword [esp + 0x28], edx
lea edx, [esp + 0x2c]
push edi
push edx
mov ebx, eax
call fcn.004783d0
mov ecx, dword [eax]
mov dx, word [eax + 4]
mov dword [esp + 0x20], ecx
add esp, 0xc
mov ecx, edi
mov word [esp + 0x18], dx
call fcn.00593060
push edi
mov dword [esp + 0x14], eax
call fcn.004d67c0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x34]
push edi
push eax
call fcn.00478460
mov ecx, dword [esp + 0x30]
add esp, 0xc
push ecx
lea ebp, [esi - 0x54]
push ebx
mov ecx, ebp
call fcn.004782e0
mov edi, eax
test edi, edi
je 0x47ada0
mov ecx, dword [0xce1d00]
push edi
call fcn.0043f7a0
cmp byte [edi + 0x8a], 0
mov eax, dword [0xce1d00]
movzx ecx, word [esp + 0x14]
setne dl
mov byte [eax + 0x10], dl
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x16]
push 0x104
mov dword [esi + 0x1b60], ecx
push eax
lea ecx, [esi + 0x1a5c]
push ecx
mov dword [esi + 0x1b68], ebx
mov dword [esi + 0x1b64], edx
call dword [0xa8b1a8]
mov edx, dword [esp + 0x1c]
push 0
push str.Alert_ConnectingGameServer
mov ecx, ebp
mov dword [esi + 0x1a58], edx
call fcn.00478970
mov ecx, 0xd825c0
mov dword [esi + 0x10], 0
mov byte [esi + 0xc], 1
call fcn.0058ea70
lea eax, [esp + 0x30]
push eax
mov ecx, 0xdb29f0
call fcn.0090b100
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
push 1
push str.Alert_NotFoundCharInfo
mov ecx, ebp
call fcn.00478970
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
mov ecx, dword [esi + 0x1400]
mov byte [esi + 0x1358], 1
mov dword [esi + 0x1a4c], 0
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
push 0
call eax
mov ecx, dword [esi + 0x1a44]
mov ecx, dword [esi + ecx*4 + 0x1388]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
push 0
call eax
xor eax, eax
lea ecx, [ecx]
mov ecx, dword [esi + 0x1a44]
mov edx, dword [esi + 0x18]
imul ecx, ecx, 0x17
add ecx, eax
inc eax
cmp eax, 0x17
mov dword [edx + ecx*4], 0
jl 0x47ae00
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
cmp eax, 0x1580
jg 0x47ae66
je 0x47ae70
cmp eax, 0x806
jne case.0x47aa03.232
mov ecx, dword [esi + 0x1b7c]
push edi
push ebx
call fcn.004847c0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
add eax, 0xffffea7b
cmp eax, 1
ja case.0x47aa03.232
mov eax, dword [esp + 0x90]
push edi
push ebx
push ebp
push eax
mov ecx, 0xdafd38
call fcn.008f2350
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor al, al
call fcn.00a2a4ac
add esp, 0x7c
ret 0x10