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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea ecx, [ebx + 0x10]
call fcn.00497a1d
test al, al
jne 0x4c5ca7
lea esi, [ebx + 0x276]
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x3c]
push esi
call fcn.004a6c62
fld dword [0x631fa0]
push ecx
mov dword [esp + 0x28], eax
fstp dword [esp]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
fld dword [0x69490c]
push ecx
mov dword [esp + 0x38], eax
fstp dword [esp]
mov eax, dword [ebx]
mov ecx, ebx
mov byte [esp + 0x24], 0
call dword [eax + 0x10]
add eax, dword [esp + 0x34]
mov byte [esp + 0x1c], 0
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
push 0x61
push ebx
fstp dword [esp + 0x20]
mov eax, 0x18000101
call fcn.0049c9e1
cmp byte [esp + 0x1c], 0
je 0x4c594e
fld dword [0x694a24]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
fstp dword [esp]
call dword [eax + 0x10]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
lea edi, [ebx + 0x2fb]
push dword [edi]
call fcn.005f858a
fld1
xor eax, eax
fstp dword [esp]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
fld dword [0x694a20]
xor edi, edi
inc edi
push edi
push edi
push 0
mov esi, eax
add esi, dword [ebx + 0x272]
mov eax, dword [ebx]
push 0
push ecx
mov ecx, ebx
fstp dword [esp]
mov dword [esp + 0x50], esi
call dword [eax + 0x14]
push eax
mov ecx, esi
lea eax, [esp + 0xb4]
call fcn.00404a96
fld dword [0x694260]
mov eax, dword [ebx]
push edi
push edi
push 0
push 0
push ecx
mov ecx, ebx
fstp dword [esp]
call dword [eax + 0x14]
fld dword [0x694268]
push eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
fstp dword [esp]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [esp + 0x8c]
call fcn.00404a96
mov esi, dword [ebx + 0x3a]
test esi, esi
mov byte [esp + 0x28], 0
mov dword [esp + 0x18], esi
je 0x4c5ba9
and dword [esp + 0x2c], 0
jmp 0x4c59fd
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x20]
cmp eax, 0x67
mov dword [esp + 0x10], eax
je 0x4c5b9a
cmp eax, 0x61
je 0x4c5b9a
inc dword [esp + 0x38]
lea eax, [esp + 0xf]
push eax
mov eax, 0x18000101
mov ecx, esi
mov byte [esp + 0x13], 1
call fcn.0049c33a
cmp byte [esp + 0xf], 0
je 0x4c5b9a
cmp dword [esp + 0x10], 0
mov ecx, esi
jge 0x4c5a68
push dword [esp + 0x28]
mov eax, 0x1a000101
call fcn.0049c306
cmp byte [esp + 0x28], 0
je 0x4c5b9a
mov byte [esp + 0x28], 0
lea eax, [esp + 0x78]
jmp 0x4c5a87
push dword [esp + 0x3c]
mov eax, dword [esi]
call dword [eax + 0x88]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xa0]
mov byte [esp + 0x28], 1
cmp byte [esp + 0x20], 0
mov dword [esp + 0x30], eax
jne 0x4c5ab7
fild dword [esp + 0x34]
fiadd dword [eax]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [ebx + 0x18]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jp 0x4c5b7d
mov byte [esp + 0x20], 1
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, SysReAllocString
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
lea eax, [esp + 0x50]
push eax
push dword [esi + 0x20]
mov dword [esp + 0x68], edi
push dword [esp + 0x2c]
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
call fcn.004b2acc
cmp dword [ebx + 0x2ff], 0
jne 0x4c5b2a
mov ecx, dword [ebx + 0x3a]
xor eax, eax
jmp 0x4c5b0b
mov ecx, dword [ecx + 4]
inc eax
test ecx, ecx
jne 0x4c5b07
sub eax, dword [esp + 0x38]
mov edi, eax
lea eax, [ebx + 0x2fb]
push eax
call fcn.004c92e6
mov dword [ebx + 0x2ff], edi
xor edi, edi
inc edi
mov eax, dword [ebx + 0x2fb]
add eax, dword [esp + 0x2c]
mov ecx, 0x20c
add dword [esp + 0x2c], ecx
cmp dword [esp + 0x10], 0
jge 0x4c5b49
or dword [eax], 0xffffffff
jmp 0x4c5b9a
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], eax
sub esp, 0x10
mov dword [esp + 0x50], 0x100004d3
mov dword [esp + 0x5c], 2
mov edi, esp
lea esi, [esp + 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004b44ff
mov esi, dword [esp + 0x18]
jmp 0x4c5b97
push dword [esp + 0x34]
mov edi, dword [esp + 0x28]
call fcn.004af0a8
push dword [esp + 0x30]
push dword [esi + 0x20]
push edi
call fcn.004b2acc
xor edi, edi
inc edi
mov esi, dword [esi + 4]
test esi, esi
mov dword [esp + 0x18], esi
jne 0x4c59f9
mov edi, dword [esp + 0x24]
call fcn.004a71a5
push dword [esp + 0x1c]
mov esi, 0x1a000101
push 0x61
push ebx
mov eax, esi
call fcn.0049cacb
cmp byte [esp + 0x1c], 0
je 0x4c5c29
fld dword [0x69490c]
mov eax, dword [ebx]
push 1
push 1
push 0
push 0
push ecx
mov ecx, ebx
fstp dword [esp]
call dword [eax + 0x14]
fld dword [0x6944fc]
push eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
fstp dword [esp]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [esp + 0x8c]
call fcn.00404a96
lea eax, [esp + 0x78]
push eax
push 0x61
push edi
call fcn.004b2acc
fld dword [0x6948a4]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
fstp dword [esp]
call dword [eax + 0x10]
push eax
call fcn.004af0a8
push dword [esp + 0x20]
mov eax, esi
push 0x67
push ebx
call fcn.0049cacb
cmp byte [esp + 0x20], 0
je 0x4c5c9b
fld dword [0x694a20]
mov eax, dword [ebx]
push 1
push 1
push 0
push 0
push ecx
mov ecx, ebx
fstp dword [esp]
call dword [eax + 0x14]
fld dword [0x69490c]
push eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
fstp dword [esp]
call dword [eax + 0x10]
mov ecx, eax
lea eax, [esp + 0x8c]
call fcn.00404a96
lea eax, [esp + 0x78]
push eax
push 0x67
push edi
call fcn.004b2acc
fld dword [0x631fa0]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
fstp dword [esp]
call dword [eax + 0x10]
push eax
call fcn.004af0a8
lea ecx, [ebx + 0x276]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x40]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4