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

Disassembly:
sub esp, 0x60
mov eax, dword [esp + 0x64]
push ebx
xor ebx, ebx
push ebp
push esi
push ebx
push ebx
mov esi, 0x8cccd0
push 1
push ecx
mov ebp, esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x38], 0x6f783c
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov byte [esp + 0x1f], bl
mov dword [eax + 0x18], ebx
call fcn.004f6200
cmp eax, ebx
jne 0x4fabfe
lea edx, [esp + 0x28]
push edx
call fcn.004f96a0
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x4fa84b
mov eax, dword [eax + 0x14]
jmp 0x4fa857
push 1
push ebx
lea ecx, [esp + 0x30]
call fcn.004f2900
mov dword [esp + 0x68], eax
cmp dword [esp + 0x48], 1
jne 0x4fa86c
lea eax, [esp + 0x28]
push eax
call fcn.004f97e0
mov edx, dword [esp + 0x28]
push edi
push 1
push ebx
lea ecx, [esp + 0x34]
call dword [edx + 0x1c]
mov edi, eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
call dword [eax + 0x10]
cmp edi, eax
jae 0x4fabe8
jmp 0x4fa8a0
mov esi, 0x8cccd0
jmp 0x4fa8a0
cmp dword [esp + 0x5c], 1
jne 0x4fa999
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x20], esi
call fcn.004f9b70
mov edi, dword [esp + 0x18]
cmp edi, ebx
je 0x4fa980
push edi
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
cmp eax, ebx
jl 0x4fa980
mov ebx, edi
lea ecx, [esp + 0x1c]
call fcn.004f55c0
mov eax, dword [esp + 0x1c]
push eax
push 0x712608
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], esi
call fcn.004f3ce0
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebx - 4]
add esp, 8
test esi, esi
jl 0x4fa947
cmp ebx, ebp
je 0x4fa947
test esi, esi
je 0x4fa93a
lea edi, [esp + 0x14]
call fcn.004f4a30
push esi
mov esi, dword [esp + 0x18]
push ebx
push esi
call dword [sym.imp.MSVCR71.dll_memmove]
mov ecx, dword [esi - 4]
mov edi, dword [esp + 0x24]
add esp, 0xc
mov byte [esi + ecx], 0
jmp 0x4fa943
lea ecx, [esp + 0x14]
call fcn.00412f90
mov ebp, dword [esp + 0x14]
add ebx, 0xfffffff8
je 0x4fa95d
cmp ebx, 0x8cccc8
je 0x4fa95d
push ebx
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff8
je 0x4fa976
cmp eax, 0x8cccc8
je 0x4fa976
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [esp + 0x1c], 0x8cccd0
xor ebx, ebx
lea eax, [edi - 8]
cmp eax, ebx
je 0x4fa9ab
cmp eax, 0x8cccc8
je 0x4fa9ab
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
jmp 0x4fa9ab
lea edx, [esp + 0x14]
push edx
lea esi, [esp + 0x30]
call fcn.004f9a60
mov ebp, dword [esp + 0x14]
lea ebx, [esp + 0x14]
call fcn.004f3300
mov eax, ebx
push eax
call fcn.004f31f0
mov ecx, dword [ebp - 4]
xor edi, edi
cmp ecx, edi
je 0x4fabc3
mov al, byte [ebp]
cmp al, 0x3b
je 0x4fabc3
cmp al, 0x5b
jne 0x4faa90
cmp byte [ecx + ebp - 1], 0x5d
jne 0x4faa90
push 0x1c
call fcn.005354b8
add esp, 4
cmp eax, edi
je 0x4faa19
mov dword [eax], 0x8cccd0
mov dword [eax + 0xc], edi
mov dword [eax + 0x18], 1
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 8], edi
mov dword [eax + 4], 0x712988
mov ebx, eax
jmp 0x4faa1b
xor ebx, ebx
mov dl, 0x5b
lea esi, [esp + 0x14]
mov dword [esp + 0x24], ebx
call fcn.004f3360
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x4faa58
lea eax, [eax + ebp - 1]
xor ecx, ecx
cmp eax, ebp
jb 0x4faa58
jmp 0x4faa40
cmp byte [eax], 0x5d
jne 0x4faa4c
mov ecx, eax
dec eax
cmp eax, ebp
jae 0x4faa40
cmp ecx, edi
je 0x4faa58
mov byte [ecx], 0
sub ecx, ebp
mov dword [ebp - 4], ecx
lea eax, [esp + 0x14]
mov ecx, ebx
call fcn.00412ec0
mov ecx, dword [esp + 0x74]
mov edi, dword [ecx + 0xc]
mov esi, ecx
cmp edi, dword [esi + 8]
jb 0x4faa7b
mov edx, dword [esi + 0x14]
add edx, edi
call fcn.00528780
lea edx, [esp + 0x24]
mov ecx, edi
mov eax, esi
call fcn.004fba30
mov dword [esi + 0x18], ebx
jmp 0x4fabc1
mov edx, dword [esp + 0x74]
cmp dword [edx + 0x18], edi
je 0x4fabc3
cmp ecx, edi
jle 0x4fabc3
push 0x3d
push ebp
call dword [sym.imp.MSVCR71.dll_strchr]
add esp, 8
cmp eax, edi
je 0x4fabc3
sub eax, ebp
mov esi, eax
cmp esi, edi
mov dword [esp + 0x18], esi
jle 0x4fabc3
mov eax, dword [ebp - 4]
dec eax
cmp esi, eax
jge 0x4fabc3
push 0x10
call fcn.005354b8
add esp, 4
cmp eax, edi
je 0x4faaf4
mov dword [eax], 0x8cccd0
mov dword [eax + 4], 0x8cccd0
mov ebp, eax
jmp 0x4faaf6
xor ebp, ebp
mov ecx, esi
lea esi, [esp + 0x28]
lea edi, [esp + 0x14]
mov dword [esp + 0x24], ebp
call fcn.00475fb0
mov ecx, ebp
call fcn.00412ec0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff8
je 0x4fab29
cmp eax, 0x8cccc8
je 0x4fab29
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
mov esi, 0x8cccd0
mov ebx, ebp
mov dword [esp + 0x28], esi
call fcn.004f3300
push ebp
call fcn.004f31f0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx - 4]
inc edx
sub ecx, edx
lea edi, [esp + 0x20]
lea ebx, [esp + 0x14]
call fcn.004f2f20
lea ebx, [ebp + 4]
mov eax, edi
mov ecx, ebx
call fcn.00412ec0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff8
je 0x4fab7f
cmp eax, 0x8cccc8
je 0x4fab7f
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [esp + 0x20], esi
call fcn.004f3300
push ebx
call fcn.004f31f0
mov eax, dword [ebx]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
mov dword [ebp + 8], eax
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.MSVCR71.dll_atof]
fstp dword [ebp + 0xc]
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + 0x18]
add esp, 8
lea edx, [esp + 0x24]
push edx
add eax, 4
call fcn.004fba00
mov ebp, dword [esp + 0x14]
xor edi, edi
mov edx, dword [esp + 0x2c]
push 1
push edi
lea ecx, [esp + 0x34]
call dword [edx + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
call dword [eax + 0x10]
xor ebx, ebx
cmp esi, eax
jb 0x4fa892
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x18], ebx
lea ecx, [esp + 0x2c]
call fcn.00412970
mov byte [esp + 0x13], 1
pop edi
lea ecx, [esp + 0x28]
call fcn.00412b40
pop esi
lea eax, [ebp - 8]
pop ebp
cmp eax, ebx
pop ebx
je 0x4fac21
cmp eax, 0x8cccc8
je 0x4fac21
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
mov al, byte [esp + 3]
add esp, 0x60
ret 4