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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x468c1f
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x493350]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x493350]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, ecx
mov dword [esp + 0x1c], eax
cmp ebx, 0xffffffff
jne 0x425fc8
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0044cced
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [eax + 0x24]
mov edx, dword [ecx]
xor esi, esi
cmp edx, esi
je 0x425ff0
mov ecx, dword [eax + 0x34]
mov edi, dword [ecx]
add edi, edx
cmp edx, edi
jae 0x425ff0
dec dword [ecx]
mov eax, dword [eax + 0x24]
mov ecx, dword [eax]
lea edx, [ecx + 1]
mov dword [eax], edx
mov byte [ecx], bl
mov eax, ebx
jmp 0x425fa8
mov ecx, dword [eax + 0x4c]
cmp ecx, esi
jne 0x425ffc
or eax, 0xffffffff
jmp 0x425fa8
cmp dword [eax + 0x3c], esi
jne 0x426014
movsx eax, bl
push ecx
push eax
call fcn.0044e61a
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x425ff7
jmp 0x425fec
push esi
push 8
lea eax, [esp + 0x54]
mov byte [esp + 0x1f], bl
call fcn.0042707c
mov dword [esp + 0x78], esi
mov eax, dword [esp + 0x60]
lea ebx, [esp + 0x2c]
lea edi, [esp + 0x4c]
mov dword [esp + 0x18], eax
call fcn.00415f60
mov esi, eax
call fcn.00416210
add eax, dword [esp + 0x18]
lea ebx, [esp + 0x34]
mov dword [esp + 0x18], eax
call fcn.00415f60
mov esi, eax
call fcn.00416210
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x3c]
mov edi, dword [ecx]
lea ebx, [esp + 0x20]
push ebx
push dword [esp + 0x1c]
lea edx, [esi + 0x44]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x2b]
push eax
push edx
mov dword [esp + 0x44], edx
call dword [edi + 0x14]
test eax, eax
jge 0x4260a4
or esi, 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.00406d50
mov eax, esi
jmp 0x425fa8
mov esi, dword [esp + 0x1c]
cmp eax, 1
jg 0x426197
lea ebx, [esp + 0x3c]
lea edi, [esp + 0x4c]
call fcn.00415f60
mov esi, eax
call fcn.00416210
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov dword [esp + 0x18], ecx
je 0x4260fa
mov eax, dword [esp + 0x1c]
push dword [eax + 0x4c]
lea ebx, [esp + 0x48]
push ecx
push 1
call fcn.00415f60
mov esi, eax
call fcn.00416210
push eax
call fcn.0044f41e
add esp, 0x10
cmp dword [esp + 0x18], eax
jne 0x42608d
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov byte [eax + 0x41], 1
lea eax, [esp + 0x17]
cmp dword [esp + 0x24], eax
jne 0x4261bb
test ecx, ecx
ja 0x42612d
cmp dword [esp + 0x60], 0x20
jae 0x42608d
push 0
push 8
pop eax
lea edi, [esp + 0x50]
call fcn.00414980
mov eax, dword [esp + 0x60]
lea ebx, [esp + 0x2c]
lea edi, [esp + 0x4c]
mov dword [esp + 0x18], eax
call fcn.00415f60
mov esi, eax
call fcn.00416210
add eax, dword [esp + 0x18]
lea ebx, [esp + 0x34]
mov dword [esp + 0x18], eax
call fcn.00415f60
mov esi, eax
call fcn.00416210
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ecx]
lea esi, [esp + 0x20]
push esi
push dword [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x2b]
push eax
push dword [esp + 0x40]
call dword [edx + 0x14]
test eax, eax
jge 0x4260a0
jmp 0x42608d
cmp eax, 3
jne 0x42608d
movsx eax, byte [esp + 0x17]
push dword [esi + 0x4c]
push eax
call fcn.0044e61a
or esi, 0xffffffff
pop ecx
pop ecx
cmp eax, esi
je 0x426090
mov esi, dword [ebp + 8]
jmp 0x426090