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

Disassembly:
sub esp, 0x3c
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
push ebx
push ebp
mov ebp, dword [esp + 0x48]
mov edx, eax
mov dword [esp + 8], eax
mov dword [esp + 0x24], eax
push esi
mov esi, dword [esp + 0x78]
push edi
lea eax, [ebp + 0x24]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x58]
mov edi, eax
mov eax, dword [esp + 0x70]
mov dword [edi], eax
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x74]
mov dword [edi + 4], ecx
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x78]
mov dword [edi + 8], edx
mov dword [edi + 0xc], esi
lea edi, [ebp + 0x34]
mov dword [edi], eax
mov al, byte [esp + 0x6c]
test al, al
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov dword [edi + 0xc], esi
jne 0x50a79b
mov dword [esp + 0x10], 0x3f000000
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x60]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x50a7a4
mov ebx, dword [esp + 0x64]
sub eax, edx
mov dword [esp + 0x18], eax
mov eax, ebx
and eax, 1
mov dword [esp + 0x28], eax
je 0x50a7cd
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
jmp 0x50a885
test bl, 2
je 0x50a7e0
push 1
push esi
push ebp
call fcn.0050ac80
jmp 0x50a87d
test bl, 4
je 0x50a885
push 1
push esi
push ebp
call fcn.0050ac80
fmul dword [0x70de8c]
lea edx, [esp + 0x70]
push edx
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCR71.dll_modf]
mov edx, 1
add esp, 0xc
mov ecx, 0xa
xor eax, eax
mov dword [esp + 0x50], edx
lea esp, [esp]
test al, 1
je 0x50a827
imul edx, ecx
shr eax, 1
test eax, eax
je 0x50a834
mov edi, ecx
imul ecx, edi
jmp 0x50a820
mov dword [esp + 0x50], edx
mov edx, 1
mov ecx, 0xa
xor eax, eax
mov dword [esp + 0x54], edx
test al, 1
je 0x50a84f
imul edx, ecx
shr eax, 1
test eax, eax
je 0x50a85c
mov edi, ecx
imul ecx, edi
jmp 0x50a848
fild dword [esp + 0x50]
mov dword [esp + 0x54], edx
fmul st(1)
call fcn.005f275c
fstp st(0)
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
fidiv dword [esp + 0x54]
fadd qword [esp + 0x70]
fsubr dword [esp + 0x10]
fstp dword [esp + 0x50]
test bl, 8
je 0x50a929
mov ecx, esi
mov edi, ebp
call fcn.0050ae30
fmul dword [0x70de8c]
lea eax, [esp + 0x20]
push eax
fadd dword [esp + 0x18]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCR71.dll_modf]
mov edx, 1
add esp, 0xc
mov ecx, 0xa
xor eax, eax
mov dword [esp + 0x54], edx
test al, 1
je 0x50a8cc
imul edx, ecx
shr eax, 1
test eax, eax
je 0x50a8d9
mov edi, ecx
imul ecx, edi
jmp 0x50a8c5
mov dword [esp + 0x54], edx
mov edx, 1
mov ecx, 0xa
xor eax, eax
mov dword [esp + 0x70], edx
lea ecx, [ecx]
test al, 1
je 0x50a8f7
imul edx, ecx
shr eax, 1
test eax, eax
je 0x50a904
mov edi, ecx
imul ecx, edi
jmp 0x50a8f0
fild dword [esp + 0x54]
mov dword [esp + 0x70], edx
fmul st(1)
call fcn.005f275c
fstp st(0)
mov dword [esp + 0x54], eax
fild dword [esp + 0x54]
fidiv dword [esp + 0x70]
fadd qword [esp + 0x20]
fstp dword [esp + 0x14]
mov bl, byte [esp + 0x6c]
test bl, bl
jne 0x50a942
fld dword [esp + 0x14]
mov ecx, dword [esp + 0x68]
fadd dword [0x70de8c]
fstp dword [ecx + 0x3c]
mov edx, dword [esp + 0x68]
mov eax, dword [edx + 0x40]
test eax, eax
mov dword [esp + 0x54], eax
jle 0x50a969
mov eax, dword [ebp + 0x48]
fld dword [eax + 0x308]
fadd dword [ebp + 0x10]
fimul dword [esp + 0x54]
fadd dword [esp + 0x50]
fstp dword [esp + 0x50]
mov ecx, dword [ebp + 8]
fild dword [ebp + 8]
test ecx, ecx
jge 0x50a979
fadd dword [0x715568]
fdivr dword [0x70deb0]
mov edx, dword [ebp + 0xc]
test edx, edx
fstp dword [esp + 0x20]
fild dword [ebp + 0xc]
jge 0x50a993
fadd dword [0x715568]
fdivr dword [0x70deb0]
push ebp
mov edi, esi
fstp dword [esp + 0x20]
call fcn.0050b790
push eax
mov al, bl
mov ebx, dword [esp + 0x6c]
call fcn.0050bf40
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
mov dword [esp + 0x70], edi
jbe 0x50ab66
jmp 0x50a9d0
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x70]
lea ecx, [ecx]
cmp byte [edi + esi], 0x3c
jne 0x50a9f2
push 0
push ebp
mov ecx, edi
mov eax, esi
call fcn.0050b900
add edi, eax
cmp edi, dword [esp + 0x18]
mov dword [esp + 0x70], edi
jae 0x50ab66
mov al, byte [edi + esi]
mov esi, dword [ebp + 0x44]
mov edx, dword [esi]
mov byte [esp + 0x54], al
mov ebx, dword [esp + 0x54]
and ebx, 0xff
push ebx
mov ecx, esi
mov dword [esp + 0x18], 0
call dword [edx + 4]
mov ecx, dword [esi + 8]
mov edi, dword [ecx + eax*4]
test edi, edi
je 0x50aa3d
mov edx, dword [esi]
xor eax, eax
mov ax, word [edi + 4]
mov ecx, esi
push eax
push ebx
call dword [edx + 8]
test al, al
jne 0x50aabd
mov edi, dword [edi]
test edi, edi
jne 0x50aa20
mov esi, dword [esp + 0x14]
mov al, byte [esp + 0x54]
cmp al, 0x20
je 0x50ab2d
cmp al, 0xa
je 0x50ac01
test esi, esi
jne 0x50ab2d
mov edi, dword [ebp + 0x44]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], esi
call fcn.0050c8d0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x50ab29
xor eax, eax
mov al, 0x3f
mov byte [esp + 0x54], al
mov dword [esp + 0x14], esi
mov esi, dword [ebp + 0x44]
mov edx, dword [esi]
mov ecx, esi
and eax, 0xff
mov ebx, eax
push ebx
call dword [edx + 4]
mov ecx, dword [esi + 8]
mov edi, dword [ecx + eax*4]
test edi, edi
je 0x50aacc
mov edx, dword [esi]
xor eax, eax
mov ax, word [edi + 4]
mov ecx, esi
push eax
push ebx
call dword [edx + 8]
test al, al
jne 0x50aac5
mov edi, dword [edi]
test edi, edi
jne 0x50aaa2
jmp 0x50aacc
mov esi, dword [edi + 8]
jmp 0x50aa41
mov ecx, dword [edi + 8]
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x14]
mov al, byte [esp + 0x54]
mov edi, dword [esp + 0x68]
movsx eax, al
cmp eax, 0xffffff80
mov dword [edi + 0x40], 0
jl 0x50ab03
cmp eax, 0x100
jge 0x50ab03
movzx edx, al
push edx
call dword [sym.imp.MSVCR71.dll_isprint]
add esp, 4
test eax, eax
jne 0x50ab9d
mov dword [esp + 0x38], 0x3f800000
mov dword [esp + 0x3c], 0x3f800000
mov dword [esp + 0x40], 0x3f800000
mov dword [esp + 0x44], 0x3f800000
lea eax, [esp + 0x38]
jmp 0x50aba0
mov al, byte [esp + 0x54]
cmp al, 0xa
je 0x50ac01
cmp al, 0x20
jne 0x50aad4
mov eax, dword [esp + 0x68]
inc dword [eax + 0x40]
fld dword [esi + 8]
fadd dword [ebp + 0x10]
fsub dword [esi + 0x14]
fadd dword [esp + 0x50]
fstp dword [esp + 0x50]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x70], eax
jb 0x50a9c5
mov esi, dword [esp + 0x68]
mov eax, esi
call fcn.0050c3b0
mov al, byte [esp + 0x6c]
test al, al
jne 0x50ab93
mov ecx, dword [esi + 0x34]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add ecx, 0x5c
mov dword [ecx], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x30
lea eax, [ebp + 0x34]
mov edx, dword [eax]
fld dword [esp + 0x1c]
fmul dword [ebp + 4]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [esi + 4]
sub esp, 8
mov dword [ecx + 0xc], eax
fstp dword [esp + 4]
fld dword [esp + 0x38]
mov ecx, dword [esi]
fmul dword [esi + 8]
mov eax, dword [ebp + 4]
fstp dword [esp]
push ecx
mov ecx, dword [esi + 8]
fld dword [edi + 0x3c]
fsub dword [esi + 0x10]
push edx
mov edx, dword [esp + 0x70]
push eax
push ecx
push edx
push ecx
fstp dword [esp]
call fcn.0050c560
cmp byte [esp + 0x54], 0xa
jne 0x50ab40
mov eax, dword [esp + 0x68]
fld dword [eax + 0x3c]
fsub dword [ebp + 4]
fstp dword [eax + 0x3c]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x50ac23
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
jmp 0x50ab51
mov al, byte [esp + 0x64]
test al, 2
je 0x50ac49
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x70]
push 1
lea eax, [edx + ecx + 1]
push eax
push ebp
call fcn.0050ac80
fsubr dword [esp + 0x10]
jmp 0x50ab4d
test al, 4
je 0x50ab51
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x70]
push 1
lea eax, [edx + ecx + 1]
push eax
push ebp
call fcn.0050ac80
fmul dword [0x70de8c]
fsubr dword [esp + 0x10]
jmp 0x50ab4d