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

Disassembly:
sub esp, 0x64
mov eax, dword [0x72d944]
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [eax + 0x5c]
mov ebx, dword [esi + 0x88]
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx + 0x50]
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x54]
mov byte [esp + 0x10], al
lea edx, [esp + 0xf]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00411f90
mov edi, eax
mov al, byte [esp + 0xf]
test al, al
mov byte [esp + 0x10], 0
jbe 0x58b7f2
mov ecx, dword [esp + 0x10]
mov edx, ecx
and edx, 0xff
mov eax, dword [edi + edx*4]
mov al, byte [eax + 8]
mov dl, al
and dl, 1
cmp dl, 1
jne 0x58b4f5
test al, 2
je 0x58b50c
mov al, byte [esp + 0x10]
mov cl, byte [esp + 0xf]
inc al
cmp al, cl
mov byte [esp + 0x10], al
jb 0x58b4d5
jmp 0x58b7f2
and ecx, 0xff
push ebx
lea edi, [edi + ecx*4]
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov ecx, dword [edi]
push 1
push 1
add ecx, 8
call fcn.00448700
mov ecx, dword [edi]
push esi
mov edx, dword [ecx]
call dword [edx + pe_nt_image_headers32]
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x5c]
mov edi, dword [edi]
test edi, edi
je 0x58b7f2
fld dword [esi + 0xd0]
fmul dword [0x6d1310]
mov edx, dword [esi + 0x1c]
fstp dword [esp + 0x1c]
mov ecx, dword [edx + 4]
fld dword [ecx + 0x70]
fcomp dword [0x72c6ac]
fnstsw ax
test ah, 0x44
jp 0x58b5ba
fld dword [ecx + 0x74]
fcomp dword [0x72c6b0]
fnstsw ax
test ah, 0x44
jp 0x58b5ba
fld dword [ecx + 0x78]
fcomp dword [0x72c6b4]
fnstsw ax
test ah, 0x44
jp 0x58b5ba
movsx ecx, byte [esi + 0xc4]
movsx eax, byte [esi + 0xc5]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul dword [0x704db8]
fstp dword [esp + 0x18]
fild dword [esp + 0x10]
jmp 0x58b6d1
fld dword [ecx + 0x70]
fcomp dword [0x72c648]
fnstsw ax
test ah, 0x44
jp 0x58b619
fld dword [ecx + 0x74]
fcomp dword [0x72c64c]
fnstsw ax
test ah, 0x44
jp 0x58b619
fld dword [ecx + 0x78]
fcomp dword [0x72c650]
fnstsw ax
test ah, 0x44
jp 0x58b619
movsx ecx, byte [esi + 0xc5]
neg ecx
movsx eax, byte [esi + 0xc4]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul dword [0x704db8]
fstp dword [esp + 0x18]
fild dword [esp + 0x10]
jmp 0x58b6d1
fld dword [ecx + 0x70]
fcomp dword [0x72c638]
fnstsw ax
test ah, 0x44
jp 0x58b677
fld dword [ecx + 0x74]
fcomp dword [0x72c63c]
fnstsw ax
test ah, 0x44
jp 0x58b677
fld dword [ecx + 0x78]
fcomp dword [0x72c640]
fnstsw ax
test ah, 0x44
jp 0x58b677
movsx ecx, byte [esi + 0xc4]
movsx eax, byte [esi + 0xc5]
neg ecx
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
neg eax
mov dword [esp + 0x10], eax
fmul dword [0x704db8]
fstp dword [esp + 0x18]
fild dword [esp + 0x10]
jmp 0x58b6d1
fld dword [ecx + 0x70]
fcomp dword [0x72c68c]
fnstsw ax
test ah, 0x44
jp 0x58b6db
fld dword [ecx + 0x74]
fcomp dword [0x72c690]
fnstsw ax
test ah, 0x44
jp 0x58b6db
fld dword [ecx + 0x78]
fcomp dword [0x72c694]
fnstsw ax
test ah, 0x44
jp 0x58b6db
movsx ecx, byte [esi + 0xc5]
movsx eax, byte [esi + 0xc4]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
neg eax
mov dword [esp + 0x10], eax
fmul dword [0x704db8]
fstp dword [esp + 0x18]
fild dword [esp + 0x10]
fmul dword [0x704db8]
fstp dword [esp + 0x20]
mov ecx, dword [esi + 0x168]
mov eax, dword [esi + 0x16c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esi + 0x170]
mov dword [esp + 0x58], 0x3f800000
mov dword [esp + 0x44], 0x3f800000
mov dword [esp + 0x30], 0x3f800000
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x3c], 3
mov edx, dword [edx + 4]
push 0x72c608
add edx, 0x70
lea ecx, [esp + 0x34]
push edx
call fcn.004b91a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x24]
push 1
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x38], edx
call fcn.004b9530
mov ecx, dword [0x72d944]
lea edx, [esp + 0x18]
lea ebx, [esi + 0x194]
push 1
mov ecx, dword [ecx + 0x58]
push edx
lea eax, [esi + 0x184]
push ebx
push eax
call fcn.00465a30
cmp dword [esi + 0x1a8], 3
je 0x58b7c3
lea edx, [esp + 0x18]
mov ecx, ebx
push edx
call fcn.0045f7b0
fld dword [esp + 0x1c]
fadd dword [esi + 0xe4]
lea eax, [esp + 0x18]
push esi
push eax
mov ecx, edi
fstp dword [esp + 0x24]
call fcn.004a2bc0
push 0
push 0
push esi
mov ecx, edi
call fcn.004a2280
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx + 0x4c]
test byte [esi + 0x140], 4
je 0x58b806
mov ecx, dword [esi + 0x8c]
call fcn.00477270
test byte [esi + 0x140], 8
jne 0x58b83e
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x48]
test eax, eax
jne 0x58b81c
mov eax, dword [esi + 0x58]
push eax
push 2
call fcn.004e22a0
mov ecx, eax
call fcn.004566c0
mov ecx, dword [esi + 0x48]
push 0
push 2
call fcn.004e22a0
mov ecx, eax
call fcn.004565d0
mov eax, dword [esi + 0x94]
mov dword [eax + 4], esi
mov ecx, dword [esi + 0x94]
mov byte [ecx + 0xc], 1
mov ecx, dword [esi + 0x94]
fld dword [ecx + 0x10]
fcomp dword [0x6d035c]
fnstsw ax
test ah, 5
jp 0x58b86e
mov dword [ecx + 0x10], 0
mov eax, dword [0x72d944]
mov edx, dword [esi + 0x94]
push edx
mov ecx, dword [eax + 0x18]
call fcn.00453d10
pop edi
pop esi
pop ebx
add esp, 0x64
ret