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

Disassembly:
push 0xffffffffffffffff
push 0x4ac579
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c2020]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, ecx
test byte [0x7e9d28], 1
fldz
jne 0x49fbcc
or dword [0x7e9d28], 1
fst dword [0x7e9d1c]
fst dword [0x7e9d20]
push 0x4ae6b0
fstp dword [0x7e9d24]
call fcn.0047ec57
add esp, 4
jmp 0x49fbce
fstp st(0)
mov eax, 2
test byte [0x7e9d28], al
jne 0x49fc11
or dword [0x7e9d28], eax
push 0x496830
push 0x496820
push 4
push 0xc
push 0x7e9cec
mov dword [esp + 0x80], 0
call fcn.0047e83c
push 0x4ae690
call fcn.0047ec57
add esp, 4
cmp dword [edi + 0x24], 0
jne 0x49fc21
mov eax, 8
jmp 0x49ffa9
mov eax, dword [esp + 0x74]
push 0x4b8b30
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
mov esi, eax
add esp, 8
mov dword [esp + 0x14], esi
test esi, esi
jne 0x49fc46
lea eax, [esi + 4]
jmp 0x49ffa9
mov ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
push ebx
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0045c130
fld dword [eax]
fstp dword [0x7e9d1c]
add esp, 0xc
fld dword [eax + 4]
push 0
fstp dword [0x7e9d20]
push 0
fld dword [eax + 8]
push 0
fstp dword [0x7e9d24]
sub esp, 8
fld qword [0x4af590]
fstp qword [esp]
push str._10.3f_10d_10d_6d_n
push esi
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0x1c
cmp dword [edi + 0x18], 0
mov dword [esp + 0x78], 0
jle 0x49fe4c
xor edx, edx
mov dword [esp + 0x74], edx
jmp 0x49fcb6
mov edx, dword [esp + 0x74]
mov eax, dword [edi + 0x24]
fld dword [eax + edx + 4]
add eax, edx
fmul dword [0x7e9d20]
mov ecx, dword [eax + 0xc]
fld dword [eax]
mov esi, dword [eax + 0x10]
fmul dword [0x7e9d1c]
mov ebp, dword [eax + 0x14]
faddp st(1)
fld dword [eax + 8]
fmul dword [0x7e9d24]
faddp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fcomp dword [0x4af350]
fnstsw ax
test ah, 0x41
mov eax, dword [edi + 0x24]
jne 0x49fd87
mov byte [edx + eax + 0x18], 1
mov edx, dword [esp + 0x7c]
lea eax, [ecx + ecx*2]
mov ecx, dword [edi + 0x20]
push edx
lea edx, [ecx + eax*4]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00497f70
fld dword [eax]
mov ecx, dword [esp + 0x88]
fstp dword [0x7e9cec]
fld dword [eax + 4]
push ecx
fstp dword [0x7e9cf0]
lea edx, [esi + esi*2]
fld dword [eax + 8]
fstp dword [0x7e9cf4]
mov eax, dword [edi + 0x20]
lea ecx, [eax + edx*4]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00497f70
fld dword [eax]
fstp dword [0x7e9cf8]
lea ecx, [ebp + ebp*2]
fld dword [eax + 4]
fstp dword [0x7e9cfc]
fld dword [eax + 8]
mov eax, dword [esp + 0x94]
fstp dword [0x7e9d00]
mov edx, dword [edi + 0x20]
push eax
lea eax, [edx + ecx*4]
push eax
lea ecx, [esp + 0x54]
push ecx
jmp 0x49fdfb
mov byte [edx + eax + 0x18], 0
mov edx, dword [edi + 0x20]
lea ecx, [ecx + ecx*2]
lea eax, [edx + ecx*4]
push ebx
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00497f70
fld dword [eax]
fstp dword [0x7e9cec]
lea edx, [esi + esi*2]
fld dword [eax + 4]
push ebx
fstp dword [0x7e9cf0]
fld dword [eax + 8]
fstp dword [0x7e9cf4]
mov eax, dword [edi + 0x20]
lea ecx, [eax + edx*4]
push ecx
lea edx, [esp + 0x60]
push edx
call fcn.00497f70
fld dword [eax]
fstp dword [0x7e9cf8]
push ebx
fld dword [eax + 4]
fstp dword [0x7e9cfc]
fld dword [eax + 8]
lea eax, [ebp + ebp*2]
fstp dword [0x7e9d00]
mov ecx, dword [edi + 0x20]
lea edx, [ecx + eax*4]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.00497f70
fld dword [eax]
mov esi, dword [esp + 0x38]
fstp dword [0x7e9d04]
fld dword [eax + 4]
add esp, 0x24
fstp dword [0x7e9d08]
mov ecx, 0x7e9cf8
fld dword [eax + 8]
mov eax, 0x7e9d04
mov edx, 0x7e9cec
fstp dword [0x7e9d0c]
call fcn.0049e8f0
mov eax, dword [esp + 0x78]
add dword [esp + 0x74], 0x58
inc eax
mov dword [esp + 0x78], eax
cmp eax, dword [edi + 0x18]
jl 0x49fcb2
xor ecx, ecx
mov dword [esp + 0x74], ecx
cmp dword [edi + 0x1c], ecx
jle 0x49ff99
mov dword [esp + 0x78], ecx
nop
add ecx, dword [edi + 0x28]
mov esi, dword [edi + 0x24]
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0xc]
imul edx, edx, 0x58
mov dl, byte [edx + esi + 0x18]
imul eax, eax, 0x58
cmp dl, byte [eax + esi + 0x18]
je 0x49ff7c
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
lea ebp, [eax + eax*2]
mov eax, dword [edi + 0x20]
add ebp, ebp
add ebp, ebp
push ebx
add eax, ebp
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.00497f70
fld dword [eax]
fstp dword [0x7e9cec]
lea esi, [esi + esi*2]
fld dword [eax + 4]
add esi, esi
fstp dword [0x7e9cf0]
add esi, esi
fld dword [eax + 8]
push ebx
fstp dword [0x7e9cf4]
mov edx, dword [edi + 0x20]
add edx, esi
push edx
lea eax, [esp + 0x60]
push eax
call fcn.00497f70
fld dword [eax]
mov ecx, dword [esp + 0x94]
fstp dword [0x7e9cf8]
fld dword [eax + 4]
push ecx
fstp dword [0x7e9cfc]
fld dword [eax + 8]
lea eax, [esp + 0x5c]
fstp dword [0x7e9d00]
mov edx, dword [edi + 0x20]
add edx, esi
push edx
push eax
call fcn.00497f70
fld dword [eax]
mov ecx, dword [esp + 0xa0]
fstp dword [0x7e9d04]
fld dword [eax + 4]
push ecx
fstp dword [0x7e9d08]
fld dword [eax + 8]
lea eax, [esp + 0x5c]
fstp dword [0x7e9d0c]
mov edx, dword [edi + 0x20]
add edx, ebp
push edx
push eax
call fcn.00497f70
fld dword [eax]
mov esi, dword [esp + 0x44]
fstp dword [0x7e9d10]
fld dword [eax + 4]
add esp, 0x30
fstp dword [0x7e9d14]
mov ecx, 0x7e9cf8
fld dword [eax + 8]
mov eax, 0x7e9d04
mov edx, 0x7e9cec
fstp dword [0x7e9d18]
call fcn.0049e8f0
mov eax, 0x7e9d10
mov ecx, 0x7e9d04
mov edx, 0x7e9cec
call fcn.0049e8f0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
inc eax
add ecx, 0x10
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
cmp eax, dword [edi + 0x1c]
jl 0x49fe60
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc