Function at 0x424aa0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x451390]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
mov edx, ecx
mov dword [esp + 8], edx
cmp ebx, 0xffffffff
jne 0x424ad2
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004260d4
add esp, 0x30
ret 4
mov ecx, dword [edx + 0x24]
cmp dword [ecx], 0
push esi
je 0x424b0b
mov eax, dword [edx + 0x34]
mov ecx, dword [ecx]
mov esi, dword [eax]
add esi, ecx
cmp ecx, esi
jae 0x424b0b
dec dword [eax]
mov eax, dword [edx + 0x24]
mov ecx, dword [eax]
lea edx, [ecx + 1]
mov dword [eax], edx
mov byte [ecx], bl
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004260d4
add esp, 0x30
ret 4
mov eax, dword [edx + 0x4c]
test eax, eax
je 0x424b2a
cmp dword [edx + 0x3c], 0
jne 0x424b40
push eax
movsx eax, bl
push eax
call fcn.0042a2e1
add esp, 8
cmp eax, 0xffffffff
jne 0x424af6
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004260d4
add esp, 0x30
ret 4
mov ecx, 0xf
xor eax, eax
mov byte [esp + 0x1c], 0
mov byte [esp + 8], bl
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], 8
cmp ecx, 0x10
jae 0x424b6d
lea eax, [esp + 0x1c]
push ebp
mov byte [eax + 8], 0
push edi
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
nop
cmp edx, 0x10
jb 0x424dc6
mov ebp, eax
test eax, eax
je 0x424baf
mov ecx, eax
cmp edx, 0x10
jae 0x424b9a
lea ecx, [esp + 0x24]
cmp ecx, ebp
ja 0x424baf
mov ecx, eax
cmp edx, 0x10
jae 0x424ba9
lea ecx, [esp + 0x24]
add ecx, ebx
cmp ebp, ecx
jbe 0x424bc0
call fcn.0042657a
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x20]
cmp ecx, 0xfffffffc
je 0x424beb
mov ecx, eax
cmp edx, 0x10
jae 0x424bd4
lea ecx, [esp + 0x24]
add ecx, ebx
cmp ebp, ecx
jb 0x424beb
call fcn.0042657a
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov edi, ebx
cmp edx, 0x10
jb 0x424dcf
mov esi, eax
test eax, eax
je 0x424c1c
mov ecx, eax
cmp edx, 0x10
jae 0x424c07
lea ecx, [esp + 0x24]
cmp ecx, esi
ja 0x424c1c
mov ecx, eax
cmp edx, 0x10
jae 0x424c16
lea ecx, [esp + 0x24]
add ecx, ebx
cmp esi, ecx
jbe 0x424c2d
call fcn.0042657a
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x20]
cmp ecx, 0xfffffffc
je 0x424c4a
cmp edx, 0x10
jae 0x424c3f
lea eax, [esp + 0x24]
add eax, ebx
cmp esi, eax
jb 0x424c4a
call fcn.0042657a
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x18]
push eax
add ebp, edi
push ebp
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x21]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [ebx + 0x44]
push eax
call edx
test eax, eax
jl 0x424e6d
cmp eax, 1
jg 0x424dea
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
cmp edx, 0x10
jb 0x424dd8
mov esi, eax
test eax, eax
je 0x424cc0
mov ecx, eax
cmp edx, 0x10
jae 0x424ca7
lea ecx, [esp + 0x24]
cmp ecx, esi
ja 0x424cc0
mov ecx, eax
cmp edx, 0x10
jae 0x424cb6
lea ecx, [esp + 0x24]
mov ebx, dword [esp + 0x34]
add ecx, ebx
cmp esi, ecx
jbe 0x424cd1
call fcn.0042657a
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x20]
cmp ecx, 0xfffffffc
je 0x424cfc
mov ecx, eax
cmp edx, 0x10
jae 0x424ce5
lea ecx, [esp + 0x24]
add ecx, ebx
cmp esi, ecx
jb 0x424cfc
call fcn.0042657a
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
sub edi, esi
je 0x424d8d
cmp edx, 0x10
jb 0x424de1
mov esi, eax
test eax, eax
je 0x424d37
mov ecx, eax
cmp edx, 0x10
jae 0x424d22
lea ecx, [esp + 0x24]
cmp ecx, esi
ja 0x424d37
mov ecx, eax
cmp edx, 0x10
jae 0x424d31
lea ecx, [esp + 0x24]
add ecx, ebx
cmp esi, ecx
jbe 0x424d48
call fcn.0042657a
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x20]
cmp ecx, 0xfffffffc
je 0x424d65
cmp edx, 0x10
jae 0x424d5a
lea eax, [esp + 0x24]
add eax, ebx
cmp esi, eax
jb 0x424d65
call fcn.0042657a
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x4c]
push eax
push edi
push 1
push esi
call fcn.0042a6b2
add esp, 0x10
cmp edi, eax
jne 0x424e6d
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov byte [ecx + 0x41], 1
lea ecx, [esp + 0x10]
cmp dword [esp + 0x1c], ecx
jne 0x424e4b
test edi, edi
ja 0x424b80
lea ecx, [esp + 0x20]
cmp ebx, 0x20
jae 0x424e71
push 0
push 8
call fcn.00404be0
jmp 0x424b73
lea ebp, [esp + 0x24]
jmp 0x424b8f
lea esi, [esp + 0x24]
jmp 0x424bfc
lea esi, [esp + 0x24]
jmp 0x424c9c
lea esi, [esp + 0x24]
jmp 0x424d17
cmp eax, 3
jne 0x424e6d
mov edx, dword [ebx + 0x4c]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.004245f0
add esp, 8
test al, al
je 0x424e28
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0x20]
call fcn.00401b00
pop edi
pop ebp
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004260d4
add esp, 0x30
ret 4
lea ecx, [esp + 0x20]
or esi, 0xffffffff
call fcn.00401b00
pop edi
pop ebp
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004260d4
add esp, 0x30
ret 4
lea ecx, [esp + 0x20]
call fcn.00401b00
mov eax, dword [esp + 0x44]
pop edi
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004260d4
add esp, 0x30
ret 4
lea ecx, [esp + 0x20]
call fcn.00401b00
mov ecx, dword [esp + 0x3c]
pop edi
pop ebp
pop esi
pop ebx
xor ecx, esp
or eax, 0xffffffff
call fcn.004260d4
add esp, 0x30
ret 4