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

Disassembly:
sub esp, 0x68
mov eax, dword [0x5a83f8]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x78]
push edi
push 0x5c
mov edi, dword [esi + 0x124]
push dword [edi]
call fcn.004efd70
add esp, 8
mov byte [esp + 0x13], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
test eax, eax
jne 0x458a02
mov eax, 0x25
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0046ec22
add esp, 0x68
ret
cmp byte [eax + 1], 0
je 0x4589ea
mov eax, dword [esi + 0xbd8]
or eax, dword [esi + 0xbdc]
mov eax, 0x8109
jne 0x458a20
mov eax, 0x8301
push dword [esi + 0x4d0]
push eax
push dword [edi]
call fcn.00442490
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x1c], ebx
test ebx, ebx
jns 0x458a52
push dword [edi]
push str.Cant_open__s_for_writing
push esi
call fcn.0042ff10
mov eax, 0x17
jmp 0x458c25
mov ecx, dword [esi + 0xc10]
mov eax, dword [esi + 0xc14]
cmp ecx, 0xffffffff
jne 0x458a67
cmp eax, ecx
je 0x458a72
push eax
push ecx
push esi
call fcn.00440cf0
add esp, 0xc
cmp dword [esi + 0xbdc], 0
jg 0x458ada
jl 0x458a86
cmp dword [esi + 0xbd8], 0
jae 0x458ada
lea eax, [esp + 0x3c]
push eax
push ebx
call fcn.004ffed7
add esp, 8
test eax, eax
je 0x458ac6
push ebx
call fcn.00503ac5
push dword [edi]
push str.Cant_get_the_size_of__s
push esi
call fcn.0042ff10
add esp, 0x10
mov eax, 0x17
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0046ec22
add esp, 0x68
ret
mov eax, dword [esp + 0x54]
mov dword [esi + 0xbd8], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0xbdc], eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x18]
push eax
push esi
call fcn.0041e300
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x458c10
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x18], eax
cmp byte [esp + 0x13], 0
jne 0x458bfd
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x30]
push dword [esp + 0x20]
push esi
call fcn.00430f10
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x458c10
mov edi, dword [esp + 0x20]
test edi, edi
je 0x458bfd
mov ecx, dword [esi + 0xbd8]
mov eax, ecx
mov edx, dword [esi + 0xbdc]
or eax, edx
je 0x458b6f
xor eax, eax
cmp eax, edx
jg 0x458bd1
jl 0x458b5d
cmp edi, ecx
ja 0x458bd1
sub ecx, edi
mov dword [esi + 0xbd8], ecx
sbb edx, eax
xor edi, edi
mov dword [esi + 0xbdc], edx
mov eax, dword [esp + 0x14]
push edi
push eax
push dword [esp + 0x24]
call fcn.0041db60
add esp, 0xc
cmp eax, edi
jne 0x458bf6
mov eax, dword [esp + 0x18]
add eax, edi
mov dword [esp + 0x18], eax
adc ebp, 0
push ebp
push eax
push esi
call fcn.00440cd0
push esi
call fcn.00440fd0
add esp, 0x10
test eax, eax
jne 0x458bef
lea eax, [esp + 0x2c]
push eax
call fcn.00423690
sub esp, 0xc
mov ecx, esp
movups xmm0, xmmword [eax]
push esi
movups xmmword [ecx], xmm0
call fcn.00442240
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x458b03
jmp 0x458c10
mov eax, dword [esp + 0x14]
add eax, ecx
mov dword [esi + 0xbd8], 0
sub edi, ecx
mov dword [esi + 0xbdc], 0
jmp 0x458b73
mov ebx, 0x2a
jmp 0x458c10
mov ebx, 0x37
jmp 0x458c10
push esi
call fcn.00440fd0
add esp, 4
mov ecx, 0x2a
test eax, eax
cmovne ebx, ecx
push dword [esp + 0x1c]
call fcn.00503ac5
push dword [esp + 0x18]
push esi
call fcn.0041e420
mov eax, ebx
mov ecx, dword [esp + 0x80]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046ec22
add esp, 0x68
ret