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

Disassembly:
push 0xffffffffffffffff
push 0x4a8f69
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x44]
mov dword [esp + 0x68], esi
call fcn.0047d760
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
lea eax, [esp + 0x28]
lea ecx, [ebp + 0x90]
push eax
mov byte [esp + 0x6c], 2
call fcn.004871b0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 3
call fcn.0047ec90
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 2
call fcn.0047e9d0
mov ecx, dword [0x4ccb50]
mov edx, dword [ecx + 0x4fc]
push edx
call dword [sym.imp.WS2_32.dll_htonl]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
mov edi, dword [esp + 0x1c]
cmp edi, dword [esp + 0x20]
mov ebx, edi
jae 0x47f046
add edi, 0xc
lea ecx, [ebp + 0x8c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
lea ecx, [edi + 0xc]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x47ef0c
test cl, cl
je 0x47ef08
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x47ef0c
add eax, 2
add esi, 2
test cl, cl
jne 0x47eee8
xor eax, eax
jmp 0x47ef11
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x47f032
lea ecx, [edi + 4]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
jne 0x47f032
mov eax, dword [esp + 0x78]
test eax, eax
mov ecx, edi
je 0x47f015
push 0x4b77c0
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll__stricmp]
add esp, 8
test eax, eax
jne 0x47f032
push ebx
lea ecx, [esp + 0x48]
call fcn.0047dd40
lea ecx, [ebx + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
mov ecx, dword [esp + 0x74]
add esp, 4
cmp eax, ecx
jne 0x47f181
mov dword [ebp + 0x84], 1
mov eax, dword [0x4ccb50]
mov dword [eax + 0x4f4], 2
lea ecx, [esp + 0x18]
call fcn.0047e9d0
lea ecx, [esp + 0x5c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x58]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x54]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x50]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x4c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 0xc
push 0x4b77bc
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll__stricmp]
add esp, 8
test eax, eax
je 0x47f13d
mov eax, dword [esp + 0x20]
add ebx, 0x1c
add edi, 0x1c
cmp ebx, eax
jb 0x47eed1
xor esi, esi
lea ecx, [esp + 0x28]
call fcn.0047d760
mov edx, dword [esp + 0x74]
push edx
lea eax, [esp + 0x30]
push 0x4ad068
push eax
mov byte [esp + 0x74], 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
mov eax, dword [esp + 0x84]
add esp, 0xc
cmp eax, esi
mov eax, 0x4b77c0
jne 0x47f081
mov eax, 0x4b77bc
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
mov edx, dword [esp + 0x70]
push edx
lea eax, [esp + 0x34]
push 0x4ad068
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
push 0x4b7900
lea ecx, [esp + 0x40]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
lea ecx, [ebp + 0x8c]
push ecx
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
mov eax, dword [esp + 0x14]
test eax, eax
mov esi, 0x1388
lea ebx, [ebp + 0x90]
je 0x47f18e
mov edx, dword [ebp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebx
call fcn.00486700
test eax, eax
jne 0x47f1c7
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ecx]
push 1
call edi
mov edx, esi
dec esi
test edx, edx
jle 0x47f1c7
mov eax, dword [ebp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x4c]
push edx
mov ecx, ebx
call fcn.00486700
test eax, eax
je 0x47f110
jmp 0x47f1c7
push ebx
lea ecx, [esp + 0x48]
call fcn.0047dd40
lea ecx, [ebx + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
mov ecx, dword [esp + 0x74]
add esp, 4
cmp eax, ecx
jne 0x47f181
mov dword [ebp + 0x88], 1
mov ecx, dword [0x4ccb50]
mov dword [ecx + 0x4f4], 2
jmp 0x47efa2
mov dword [esp + 0x14], 1
jmp 0x47f044
mov eax, dword [ebp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
call fcn.00486780
test eax, eax
jne 0x47f1c7
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call edi
mov edx, esi
dec esi
test edx, edx
jle 0x47f1c7
mov eax, dword [ebp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
call fcn.00486780
test eax, eax
je 0x47f1a8
xor edx, edx
test esi, esi
setg dl
lea ecx, [esp + 0x40]
mov edi, edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x47f281
mov ebp, dword [esp + 0x20]
cmp ebx, ebp
je 0x47f278
lea esi, [ebx + 0x14]
lea esp, [esp]
lea ecx, [esi + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esi - 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esi - 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esi - 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esi - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esi - 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
add esi, 0x1c
lea eax, [esi - 0x14]
cmp eax, ebp
jne 0x47f230
push ebx
call sub.MFC71.DLL_operator_delete_1
add esp, 4
lea ecx, [esp + 0x5c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x58]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x54]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x50]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x4c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x60]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 0xc