Function at 0x4329b0
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4a6646
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x4c3518]
xor eax, esp
mov dword [esp + 0x2f0], eax
push ebx
push esi
push edi
mov eax, dword [0x4c3518]
xor eax, esp
push eax
lea eax, [esp + 0x338]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ebx, ecx
xor esi, esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], eax
cmp dword [ebx + 4], esi
jne 0x432a0f
or eax, 0xffffffff
jmp 0x432d38
mov edx, dword [ebx]
mov edx, dword [edx + 0x18]
push edi
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call edx
test eax, eax
je 0x432a39
mov eax, 0xfffffbf2
jmp 0x432d38
cmp edi, esi
jne 0x432a43
mov dword [esp + 0x10], esi
jmp 0x432a5a
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push edi
push esi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
inc eax
push eax
call fcn.004851c5
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
mov ecx, edi
mov esi, eax
call fcn.0041c8a0
mov eax, dword [ebx + 4]
add esp, 4
lea edx, [esp + 0x2c]
push edx
push 1
push esi
push eax
call fcn.0041b330
push esi
mov edi, eax
call fcn.00486213
add esp, 0x14
test edi, edi
jne 0x432a2f
mov edi, dword [esp + 0x24]
mov ecx, edi
lea edx, [esp + 0x60]
call fcn.00438a50
mov esi, 8
mov dword [esp + 0x340], 0
cmp dword [eax + 0x18], esi
jb 0x432ac2
mov eax, dword [eax + 4]
jmp 0x432ac5
add eax, 4
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call fcn.00401bc0
mov byte [esp + 0x340], 2
cmp dword [esp + 0x78], esi
jb 0x432aec
mov edx, dword [esp + 0x64]
push edx
call fcn.00485321
add esp, 4
mov ecx, dword [esp + 0x20]
xor eax, eax
push ecx
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x432b1f
mov edx, dword [esp + 0x20]
push edx
call fcn.00438f20
add esp, 4
push 0x200000
call fcn.004851c5
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
je 0x432cd2
push 0x40
push 0x4b67ac
push edi
call fcn.00487e23
add esp, 0xc
mov dword [esp + 0x28], eax
test eax, eax
je 0x432cc9
mov ecx, dword [esp + 0x2d8]
test ecx, ecx
jb 0x432cbc
mov eax, dword [esp + 0x2d4]
ja 0x432b8b
test eax, eax
jbe 0x432cbc
jmp 0x432b8b
mov eax, dword [esp + 0x2d4]
mov esi, dword [esp + 0x10]
test ecx, ecx
ja 0x432b9e
jb 0x432b98
cmp eax, 0x200000
jae 0x432b9e
mov dword [esp + 0x1c], eax
jmp 0x432ba6
mov dword [esp + 0x1c], 0x200000
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebx + 4]
push esi
push ecx
push edx
push eax
call fcn.0041b3d0
add esp, 0x14
test eax, eax
jne 0x432cbc
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x432cbc
mov ecx, dword [esp + 0x28]
push ecx
push eax
push 1
push esi
call fcn.0048967f
mov edi, dword [esp + 0x2c]
add esp, 0x10
cmp eax, edi
jne 0x432cbc
mov esi, dword [ebx + 0xc]
xor edx, edx
add dword [esp + 0x14], edi
adc dword [esp + 0x18], edx
test esi, esi
je 0x432c94
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x18]
mov ecx, eax
and eax, 0x7fffffff
and ecx, 0x80000000
mov dword [esp + 0x58], eax
fild qword [esp + 0x54]
mov eax, dword [esp + 0x2d8]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x2d4]
mov dword [esp + 0x4c], edx
fild qword [esp + 0x4c]
mov dword [esp + 0x3c], ecx
mov ecx, eax
and eax, 0x7fffffff
fchs
and ecx, 0x80000000
faddp st(1)
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], edx
fmul qword [0x4bc138]
mov eax, dword [esp + 0x38]
fild qword [esp + 0x3c]
mov ecx, dword [ebx + 0x10]
fild qword [esp + 0x44]
sub esp, 8
fchs
faddp st(1)
fdivp st(1)
fstp qword [esp]
push edx
mov edx, dword [esp + 0x30]
push edi
push edx
push eax
push ecx
call esi
test eax, eax
jne 0x432cb8
mov ecx, dword [esp + 0x2d8]
cmp dword [esp + 0x18], ecx
jb 0x432b80
ja 0x432cb8
mov eax, dword [esp + 0x2d4]
cmp dword [esp + 0x14], eax
jb 0x432b87
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
push edx
call fcn.00488244
add esp, 4
push esi
call fcn.00486213
add esp, 4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebx + 4]
push eax
push ecx
push edx
call fcn.0041b380
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, dword [esp + 0x2d4]
jne 0x432d06
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x2d8]
jne 0x432d06
xor esi, esi
jmp 0x432d0b
mov esi, 0xfffff400
mov dword [esp + 0x340], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x432d36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x338]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f0]
xor ecx, esp
call fcn.0048532c
mov esp, ebp
pop ebp
ret 8