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

Disassembly:
mov eax, 0x4a0cea
call fcn.00497cb0
sub esp, 0x81c
mov eax, dword [ebp + 0xc]
push ebx
movzx ecx, ah
push esi
mov esi, dword [ebp + 0x10]
and eax, 0xff
cmp ecx, 1
push edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
jne 0x41fe37
mov edi, dword [ebp + 8]
lea eax, [edi + 0x3c]
lea edx, [ebp - 0x18]
mov dword [ebp + 0xc], eax
call fcn.00422e41
mov ebx, eax
cmp ebx, dword [edi + 0x40]
mov dword [ebp - 0x10], ebx
je 0x41fe37
cmp dword [ebx + 0xc], esi
jne 0x41fe37
cmp dword [ebp - 0x14], 0
je 0x41fa33
lea eax, [ebx + 0x5c]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
mov esi, str.0.0.0.0
and ecx, eax
push esi
push ecx
call dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
pop ecx
test al, al
push 0x15e
lea eax, [ebp - 0x568]
push eax
je 0x41f75c
push 0x801
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_LoadStringA]
push dword [ebx + 0x14]
lea eax, [ebp - 0x568]
push eax
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0xc
jmp 0x41f793
push 0x813
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_LoadStringA]
cmp dword [ebx + 0x78], 0x10
jb 0x41f775
mov eax, dword [ebx + 0x64]
jmp 0x41f778
lea eax, [ebx + 0x64]
push dword [ebx + 0x14]
push eax
lea eax, [ebp - 0x568]
push eax
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x10
mov ecx, dword [ebx + 0x1c]
push 1
lea eax, [ebp - 0x408]
push eax
push 2
call fcn.0041b172
add esp, 0xc
push 2
lea eax, [ebp - 0x408]
push eax
push 0x12
or ecx, 0xffffffff
call fcn.0041b172
add esp, 0xc
jmp 0x41f7d5
cmp ebx, dword [edi + 0x40]
je 0x41fe37
lea edx, [ebp - 0x10]
call fcn.00424097
mov ebx, dword [ebp - 0x10]
cmp byte [ebx + 0x19], 0
je 0x41f7c1
cmp ebx, dword [edi + 0x40]
je 0x41fe37
lea eax, [ebx + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
cmp eax, dword [ebp + 0x10]
jne 0x41fe37
and dword [ebp + 0x10], 0
mov dword [ebp - 0x10], eax
lea eax, [ebx + 0x5c]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
and ecx, eax
push esi
push ecx
call dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator__char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
test al, al
pop ecx
pop ecx
je 0x41f829
cmp dword [ebx + 0x78], 0x10
jb 0x41f823
mov eax, dword [ebx + 0x64]
jmp 0x41f826
lea eax, [ebx + 0x64]
mov dword [ebp + 0x10], eax
lea esi, [ebx + 0x10]
mov ecx, dword [esi]
test ecx, ecx
je 0x41f838
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [ebx + 0x1c]
push 0
push dword [ebx + 0x14]
push dword [ebp + 0x10]
push edi
call fcn.0041e1e2
test eax, eax
je 0x41f91f
push dword [ebx + 0x1c]
push 1
push dword [ebx + 0x14]
push dword [ebp + 0x10]
push edi
call fcn.0041e1e2
test eax, eax
je 0x41f91f
push 0x15e
lea eax, [ebp - 0x568]
push eax
push 0x812
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_LoadStringA]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
call fcn.00422e41
push dword [ebp - 0x14]
mov dword [ebp + 8], eax
push dword [ebp + 0xc]
xor edi, edi
call fcn.00422442
mov esi, dword [ebp + 8]
lea edx, [ebp + 8]
call fcn.00424097
cmp dword [esi + 0x78], 0x10
jb 0x41f8b5
mov eax, dword [esi + 0x64]
jmp 0x41f8b8
lea eax, [esi + 0x64]
push dword [esi + 0x14]
push eax
lea eax, [ebp - 0x568]
push eax
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
mov ecx, dword [esi + 0x1c]
push 1
lea eax, [ebp - 0x408]
push eax
push 2
call fcn.0041b172
add esp, 0x1c
push 2
lea eax, [ebp - 0x408]
push eax
push 0x12
or ecx, 0xffffffff
call fcn.0041b172
add esp, 0xc
push esi
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
call fcn.0042211e
add esi, 0xc
push esi
push dword [ebp + 0xc]
inc edi
call fcn.00422442
cmp edi, eax
jbe 0x41f89f
jmp 0x41fe37
lea eax, [ebp - 0x198]
push eax
mov edi, esi
call fcn.0041fe48
and dword [ebp - 4], 0
push ebx
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
call fcn.0042211e
mov eax, dword [ebp - 0x198]
test eax, eax
je 0x41fa1e
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x2a4], eax
lea eax, [ebp - 0x2a0]
push eax
lea edi, [ebp - 0x198]
call fcn.0041fe48
lea eax, [ebp - 0x2a4]
mov byte [ebp - 4], 1
push eax
mov eax, dword [ebp + 0xc]
lea edi, [ebp + 0x10]
call fcn.00422102
lea eax, [ebp - 0x2a0]
push eax
mov byte [ebp - 4], 0
call fcn.0041f5be
mov eax, dword [ebp - 0x198]
mov dword [ebp + 0x10], eax
jmp 0x41fa05
mov eax, dword [ebp - 0x10]
cmp dword [ebx + 0xc], eax
jne 0x41fa1e
lea edi, [ebx + 0x10]
lea esi, [ebp - 0x198]
call fcn.0041ff69
push ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
call fcn.0042211e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x198], eax
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x2a4], eax
lea eax, [ebp - 0x2a0]
push eax
lea edi, [ebp - 0x198]
call fcn.0041fe48
lea eax, [ebp - 0x2a4]
mov byte [ebp - 4], 2
push eax
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x14]
call fcn.00422102
lea eax, [ebp - 0x2a0]
push eax
mov byte [ebp - 4], 0
call fcn.0041f5be
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x10]
call fcn.00422e41
mov ebx, eax
mov eax, dword [ebp + 8]
cmp ebx, dword [eax + 0x40]
jne 0x41f998
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x198]
push eax
call fcn.0041f5be
jmp 0x41fe37
push 0x16c
call sub.MSVCR71.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp + 0x10], eax
test eax, eax
mov dword [ebp - 4], 3
je 0x41fa6a
push dword [ebx + 0x1c]
mov ecx, eax
push 7
push 0x400
push dword [edi + 0x24]
push dword [edi + 0x28]
call fcn.0048a68a
mov esi, eax
mov dword [ebp + 0x10], esi
jmp 0x41fa71
and dword [ebp + 0x10], 0
mov esi, dword [ebp + 0x10]
or dword [ebp - 4], 0xffffffff
push dword [ebx + 0x10]
mov ecx, esi
call fcn.00488916
test eax, eax
je 0x41fa94
test esi, esi
je 0x41fe37
mov eax, dword [esi]
mov ecx, esi
jmp 0x41fb3d
cmp byte [ebx + 0x18], 0
je 0x41fc0d
and dword [ebp - 0x78], 0
or esi, 0xffffffff
sub esi, dword [ebx + 0x1c]
lea ecx, [ebp - 0x90]
lea eax, [edi + 0x48]
push ecx
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x18], eax
call fcn.004234da
mov ecx, dword [ebp + 0x10]
mov ebx, eax
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x14], ebx
call fcn.00486b80
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVCR71.dll_strcpy
and dword [ebp - 0x10], 0
cmp ebx, dword [edi + 0x4c]
pop ecx
pop ecx
jne 0x41fb49
push 0x15e
lea eax, [ebp - 0x6c8]
push eax
mov eax, dword [ebp + 8]
push 0x822
push dword [eax + 0x28]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c8]
push eax
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0xc
push 1
lea eax, [ebp - 0x828]
push eax
push 0x12
or ecx, 0xffffffff
call fcn.0041b172
add esp, 0xc
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41fe37
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x41fe37
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x20], esi
jne 0x41fb77
lea eax, [ebp - 0x70]
push eax
lea eax, [ebx + 0x10]
push eax
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
je 0x41fbad
inc dword [ebp - 0x10]
lea edx, [ebp + 0xc]
call fcn.0042410f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x4c]
jne 0x41fb46
cmp dword [ebp - 0x10], 1
jne 0x41fae2
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
add edi, 0xc
add esi, 0x30
lea ebx, [ebp + 0xc]
call fcn.0041173d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x34]
je 0x41fbec
mov edi, dword [ebp + 0x10]
mov eax, dword [eax + 0x10]
call fcn.00410148
jmp 0x41fbf9
mov esi, dword [ebp + 8]
lea edi, [ebx + 0xc]
add esi, 0x30
lea ebx, [ebp - 0x14]
call fcn.0041173d
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 0x18]
call fcn.00422904
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x34]
je 0x41fb30
mov edi, dword [ebp + 0x10]
mov eax, dword [eax + 0x10]
call fcn.00410148
jmp 0x41fe37
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41fbf9
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x18]
call fcn.00422904
jmp 0x41fe37
push 0
mov ecx, esi
call fcn.00488d1d
push eax
lea ecx, [ebp - 0x60]
call fcn.00483361
mov dword [ebp - 4], 4
cmp dword [ebp - 0x48], 0
je 0x41fca7
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x40]
mov byte [ebp + 0x13], 0
mov dword [ebp + 0xc], eax
cmp byte [ebp + 0x13], 0
jne 0x41fc91
lea ecx, [ebp - 0x5c]
push ecx
lea eax, [ebx + 0x5c]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
test al, al
pop ecx
pop ecx
je 0x41fc67
mov byte [ebp + 0x13], 1
jmp 0x41fc7b
cmp byte [ebx + 0x19], 0
je 0x41fc70
mov dword [ebp + 0xc], ebx
lea edx, [ebp - 0x10]
call fcn.00424097
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
cmp dword [ebx + 0xc], eax
je 0x41fc3c
cmp byte [ebp + 0x13], 0
jne 0x41fc91
mov ebx, dword [ebp + 0xc]
cmp ebx, dword [edi + 0x40]
je 0x41fca7
lea eax, [ebx + 0x10]
push eax
mov ecx, esi
call fcn.00486b80
push eax
push edi
call fcn.00420616
test al, al
je 0x41fcbc
test esi, esi
je 0x41fe2b
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x41fe2b
lea eax, [ebx + 0x80]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004833a7
mov byte [ebp - 4], 5
cmp byte [edi + 0xbc], 0
je 0x41fd03
cmp byte [ebx + 0x20], 0
je 0x41fd03
cmp dword [ebx + 0x3c], 0
je 0x41fd03
mov ecx, esi
call fcn.00486b80
push eax
call fcn.00484965
test al, al
pop ecx
jne 0x41fd03
lea eax, [ebx + 0x24]
push eax
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x3c]
call dword [eax + 0xc]
cmp byte [ebx + 0x54], 0
je 0x41fd5b
cmp dword [ebp - 0x24], 0
jne 0x41fd5b
cmp byte [ebx + 0x55], 0
je 0x41fd5b
push dword [ebx + 0x1c]
mov ecx, dword [0x4bb2b0]
lea eax, [ebp - 0x3c]
call fcn.0046a4dc
test al, al
je 0x41fd5b
cmp dword [ebp - 0x24], 0
je 0x41fd4b
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x41fd3c
lea eax, [ebp - 0x34]
movsx eax, byte [eax]
push eax
call dword [sym.imp.MSVCR71.dll_isdigit]
test eax, eax
pop ecx
jne 0x41fd5b
lea eax, [ebx + 0x80]
push eax
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x3c]
call dword [eax + 0xc]
push 0x8f40
call sub.MSVCR71.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp + 0x10], eax
test eax, eax
mov byte [ebp - 4], 6
je 0x41fe03
xor ecx, ecx
mov cl, byte [ebx + 0x21]
push ecx
xor ecx, ecx
mov cl, byte [ebx + 0x20]
push ecx
xor ecx, ecx
mov cl, byte [ebx + 0x5b]
push ecx
xor ecx, ecx
mov cl, byte [ebx + 0x5a]
push ecx
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebx + 0xec]
push ecx
push dword [ebx + 0x114]
xor ecx, ecx
push dword [ebx + 0x110]
mov cl, byte [ebx + 0x59]
push ecx
xor ecx, ecx
mov cl, byte [ebx + 0x58]
push ecx
xor ecx, ecx
mov cl, byte [ebx + 0x57]
push ecx
xor ecx, ecx
mov cl, byte [ebx + 0x56]
cmp byte [ebx + 0x53], 0
push ecx
sete cl
push ecx
xor ecx, ecx
mov cl, byte [ebx + 0x52]
push ecx
xor ecx, ecx
mov cl, byte [ebx + 0x54]
push ecx
xor ecx, ecx
mov cl, byte [ebx + 0x51]
push ecx
push dword [ebx + 0x4c]
lea ecx, [ebp - 0x3c]
push dword [ebx + 0x48]
push ecx
lea ecx, [ebx + 0xc8]
push ecx
lea ecx, [ebx + 0xa4]
push ecx
push dword [ebx + 0x1c]
xor ecx, ecx
mov cl, byte [ebx + 0x50]
push ecx
push edi
push esi
push eax
call fcn.0040b43f
mov ebx, eax
jmp 0x41fe05
xor ebx, ebx
mov byte [ebp - 4], 5
mov eax, dword [esi + 0x20]
mov edi, dword [ebp + 8]
add edi, 0x30
lea esi, [ebp + 0x10]
mov dword [ebp + 0x10], eax
call fcn.004116ba
lea ecx, [ebp - 0x3c]
mov dword [eax], ebx
mov byte [ebp - 4], 4
call fcn.004835c3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.004835c3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc