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

Disassembly:
push 0xffffffffffffffff
push 0x49cc93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
mov ebx, dword [esp + 0x84]
mov eax, dword [ebx]
push ebp
push edi
mov ebp, ecx
push 0x2c
push 0xffffffffffffffff
mov ecx, ebx
mov dword [esp + 0x5c], ebp
call dword [eax + 8]
mov edi, eax
cmp edi, 2
mov dword [esp + 0x58], edi
jne 0x46631e
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx + 0x10]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
test eax, eax
jne 0x466b73
mov ecx, dword [0x4bd2c0]
mov eax, dword [ecx]
lea edx, [esp + 0xe]
push edx
call dword [eax + 0xfc]
test al, al
jne 0x466b73
push 0
push 0xbc4
mov ecx, ebp
call fcn.004620e0
push eax
mov ecx, ebp
call fcn.00462850
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
add esp, 0x7c
ret 4
cmp edi, 3
jl 0x466b73
mov eax, dword [ebx]
push esi
push 1
mov ecx, ebx
call dword [eax + 0x10]
mov esi, dword [sym.imp.MSVCR71.dll_atoi]
push eax
call esi
add esp, 4
cmp edi, 2
mov dword [esp + 0x60], eax
mov dword [esp + 0x20], 2
jle 0x466b39
mov edi, dword [sym.imp.MSVCR71.dll_atol]
jmp 0x466360
push 0xa
lea ecx, [esp + 0x68]
call fcn.00496750
mov eax, dword [esp + 0x20]
mov edx, dword [ebx]
push 0x3a
push 0
lea ecx, [esp + 0x6c]
push ecx
push eax
mov ecx, ebx
mov dword [esp + 0x98], 0
call dword [edx + 0x10]
push eax
call fcn.0048f630
mov eax, dword [esp + 0x80]
add esp, 0x10
cmp eax, 8
je 0x466961
cmp eax, 9
je 0x466961
cmp eax, 0xe
lea ecx, [esp + 0x64]
jne 0x4666a2
mov edi, dword [ebp + 0xd4]
inc edi
push 4
mov dword [ebp + 0xd4], edi
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
je 0x466b87
mov ecx, dword [eax + 8]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push 0x2c
push 9
lea ecx, [esp + 0x1c]
mov byte [esp + 0x90], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Replace]
push 0x3a
push 0xb
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Replace]
push 0x27
push 0xc
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Replace]
push 0xb
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
mov edi, eax
test edi, edi
je 0x466b87
push 9
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
je 0x466b87
mov edi, dword [edi + 8]
mov eax, dword [eax + 8]
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x46646c
test cl, cl
je 0x466468
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x46646c
add eax, 2
add edi, 2
test cl, cl
jne 0x466444
xor edi, edi
jmp 0x466471
sbb edi, edi
sbb edi, 0xffffffff
push 0xd
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
mov ebx, eax
test ebx, ebx
je 0x466b87
push 0xc
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x24], eax
je 0x466b87
push 0xb
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x28], eax
je 0x466b87
push 0xa
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x2c], eax
je 0x466b87
push 9
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x30], eax
je 0x466b87
push 8
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x34], eax
je 0x466b87
push 7
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x38], eax
je 0x466b87
push 6
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x3c], eax
je 0x466b87
push 3
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x40], eax
je 0x466b87
push 2
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x44], eax
je 0x466b87
push 5
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x48], eax
je 0x466b87
push 1
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
mov ebp, eax
test ebp, ebp
je 0x466b87
push 0
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x4c], eax
je 0x466b87
mov eax, dword [0x4bd2c0]
mov ecx, dword [ebx + 8]
mov eax, dword [eax]
push ecx
mov dword [esp + 0x54], eax
call esi
mov edx, dword [esp + 0x28]
add esp, 4
push eax
mov eax, dword [edx + 8]
push eax
call esi
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 8]
add esp, 4
push eax
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 8]
push ecx
call esi
mov edx, dword [esp + 0x40]
add esp, 4
push eax
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 8]
neg edi
sbb edi, edi
push eax
and edi, 7
inc edi
push edi
push edx
call esi
add esp, 4
push eax
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 8]
push 0
push ecx
call esi
mov edx, dword [esp + 0x60]
add esp, 4
push eax
mov eax, dword [edx + 8]
push eax
call esi
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 8]
add esp, 4
dec eax
neg eax
sbb eax, eax
inc eax
push eax
push edx
call esi
add esp, 4
push eax
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 8]
push ecx
call esi
add esp, 4
push eax
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edx, dword [esp + 0x78]
mov edi, dword [sym.imp.MSVCR71.dll_atol]
push eax
mov eax, dword [edx + 8]
push eax
call edi
mov ecx, dword [ebp + 8]
add esp, 4
push eax
push ecx
call edi
mov edx, dword [esp + 0x88]
add esp, 4
push eax
mov eax, dword [edx + 8]
push eax
call esi
mov ecx, dword [0x4bd2c0]
add esp, 4
push eax
mov eax, dword [esp + 0x90]
call dword [eax + 0x90]
lea ecx, [esp + 0x14]
jmp 0x466aff
cmp eax, 0xf
jne 0x46694c
mov ebx, dword [ebp + 0xd4]
inc ebx
push 4
mov dword [ebp + 0xd4], ebx
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
je 0x466b87
mov ecx, dword [eax + 8]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push 0x2c
push 9
lea ecx, [esp + 0x20]
mov byte [esp + 0x90], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Replace]
push 0x3a
push 0xb
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Replace]
push 0x27
push 0xc
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Replace]
push 0xe
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
mov ebp, eax
test ebp, ebp
je 0x466b87
push 0xd
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x50], eax
je 0x466b87
push 0xc
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x4c], eax
je 0x466b87
push 0xb
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x48], eax
je 0x466b87
push 0xa
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x44], eax
je 0x466b87
push 9
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x40], eax
je 0x466b87
push 8
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x3c], eax
je 0x466b87
push 7
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x38], eax
je 0x466b87
push 6
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x34], eax
je 0x466b87
push 3
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x30], eax
je 0x466b87
push 2
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x2c], eax
je 0x466b87
push 5
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x28], eax
je 0x466b87
push 1
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
mov ebx, eax
test ebx, ebx
je 0x466b87
push 0
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x24], eax
je 0x466b87
mov edx, dword [0x4bd2c0]
mov ecx, dword [ebp + 8]
mov eax, dword [edx]
push ecx
mov dword [esp + 0x58], eax
call esi
mov edx, dword [esp + 0x54]
add esp, 4
push eax
mov eax, dword [edx + 8]
push eax
call esi
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 8]
add esp, 4
push eax
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 8]
push ecx
call esi
mov edx, dword [esp + 0x54]
add esp, 4
push eax
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 8]
push eax
push edx
call esi
add esp, 4
push eax
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 8]
push ecx
call esi
mov edx, dword [esp + 0x54]
add esp, 4
push eax
mov eax, dword [edx + 8]
push 0
push eax
call esi
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 8]
add esp, 4
push eax
push edx
call esi
add esp, 4
dec eax
neg eax
sbb eax, eax
inc eax
push eax
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 8]
push ecx
call esi
mov edx, dword [esp + 0x58]
add esp, 4
push eax
mov eax, dword [edx + 8]
push eax
call esi
add esp, 4
push eax
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 8]
push eax
push edx
call edi
add esp, 4
push eax
mov eax, dword [ebx + 8]
push eax
call edi
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 8]
add esp, 4
push eax
push edx
call esi
mov ecx, dword [0x4bd2c0]
add esp, 4
push eax
mov eax, dword [esp + 0x94]
call dword [eax + 0x90]
lea ecx, [esp + 0x18]
jmp 0x466aff
mov dword [esp + 0x88], 0xffffffff
call sub.MFC71.DLL_CPtrList::CPtrList
jmp 0x466b24
mov ebx, dword [ebp + 0xd4]
inc ebx
push 4
lea ecx, [esp + 0x68]
mov dword [ebp + 0xd4], ebx
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
je 0x466b87
mov eax, dword [eax + 8]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push 0x2c
push 9
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Replace]
push 0x3a
push 0xb
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Replace]
push 0x27
push 0xc
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Replace]
push 7
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
mov ebx, eax
test ebx, ebx
je 0x466b87
push 6
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x54], eax
je 0x466b87
push 3
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x50], eax
je 0x466b87
push 2
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x4c], eax
je 0x466b87
push 5
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x48], eax
je 0x466b87
push 1
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
mov ebp, eax
test ebp, ebp
je 0x466b87
push 0
lea ecx, [esp + 0x68]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
mov dword [esp + 0x44], eax
je 0x466b87
mov ecx, dword [0x4bd2c0]
mov edx, dword [ebx + 8]
mov eax, dword [ecx]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
mov dword [esp + 0x64], eax
call esi
add esp, 4
push eax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 8]
push ecx
call esi
mov edx, dword [esp + 0x78]
add esp, 4
dec eax
neg eax
sbb eax, eax
inc eax
push eax
mov eax, dword [edx + 8]
push eax
call esi
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 8]
add esp, 4
push eax
push edx
call esi
add esp, 4
push eax
lea ecx, [esp + 0x4c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 8]
push ecx
call edi
mov edx, dword [ebp + 8]
add esp, 4
push eax
push edx
call edi
add esp, 4
push eax
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 8]
push ecx
call esi
mov ecx, dword [0x4bd2c0]
add esp, 4
push eax
mov eax, dword [esp + 0x80]
call dword [eax + 0x90]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x64]
mov dword [esp + 0x88], 0xffffffff
call sub.MFC71.DLL_CPtrList::CPtrList
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x466360
mov edx, dword [esp + 0x60]
cmp dword [ebp + 0xd4], edx
jb 0x466b72
mov ecx, dword [0x4bd2c0]
mov eax, dword [ecx]
lea edx, [esp + 0x13]
push edx
call dword [eax + 0xfc]
test al, al
jne 0x466b72
push 0
push 0xbc4
mov ecx, ebp
call fcn.004620e0
push eax
mov ecx, ebp
call fcn.00462850
pop esi
mov ecx, dword [esp + 0x7c]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x7c
ret 4
call fcn.0049641a
int3