Function at 0x429b30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9de8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
call fcn.00420b60
mov word [ebp - 0x42], ax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x42]
push ecx
call fcn.00420b40
add esp, 8
movzx edx, al
test edx, edx
je 0x429b92
lea eax, [ebp + 8]
push eax
call fcn.00420b70
add esp, 4
jmp 0x429e43
mov ecx, dword [ebp - 0x74]
call fcn.0040de70
test eax, eax
je 0x429bdc
mov ecx, dword [ebp - 0x74]
call fcn.0040de70
mov esi, eax
mov ecx, dword [ebp - 0x74]
call fcn.00422a00
cmp esi, eax
jae 0x429bdc
lea ecx, [ebp + 8]
push ecx
call fcn.00420b30
add esp, 4
mov si, ax
mov ecx, dword [ebp - 0x74]
call fcn.00422b30
mov word [eax], si
mov ax, word [ebp + 8]
jmp 0x429e43
mov edx, dword [ebp - 0x74]
cmp dword [edx + 0x4c], 0
jne 0x429bf4
call fcn.00420b60
jmp 0x429e43
mov eax, dword [ebp - 0x74]
cmp dword [eax + 0x3c], 0
jne 0x429c44
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x4c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.00420b30
add esp, 4
movzx ecx, ax
push ecx
call fcn.00429890
add esp, 8
movzx edx, al
test edx, edx
je 0x429c2d
mov ax, word [ebp + 8]
mov word [ebp - 0x76], ax
jmp 0x429c36
call fcn.00420b60
mov word [ebp - 0x76], ax
mov ax, word [ebp - 0x76]
jmp 0x429e43
mov dword [ebp - 0x10], 8
lea ecx, [ebp + 8]
push ecx
call fcn.00420b30
add esp, 4
mov word [ebp - 0x18], ax
push 0
push 8
lea ecx, [ebp - 0x3c]
call fcn.0042a6f0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00406e10
mov ecx, eax
call fcn.0042ac60
mov esi, eax
lea ecx, [ebp - 0x3c]
call fcn.0040add0
add esi, eax
push esi
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00406e10
mov ecx, eax
call fcn.0042ac60
push eax
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x16]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x74]
add edx, 0x44
push edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x3c]
call fcn.004291f0
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jl 0x429e11
cmp dword [ebp - 0x7c], 1
jle 0x429ce6
cmp dword [ebp - 0x7c], 3
je 0x429dc6
jmp 0x429e11
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00406e10
mov ecx, eax
call fcn.0042ac60
mov edx, dword [ebp - 0x1c]
sub edx, eax
mov dword [ebp - 0x40], edx
je 0x429d52
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
push 1
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00406e10
mov ecx, eax
call fcn.0042ac60
push eax
call fcn.00449b22
add esp, 0x10
cmp dword [ebp - 0x40], eax
je 0x429d52
call fcn.00420b60
mov word [ebp - 0x66], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00406d00
mov ax, word [ebp - 0x66]
jmp 0x429e43
mov ecx, dword [ebp - 0x74]
mov byte [ecx + 0x42], 1
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
cmp edx, eax
je 0x429d83
mov cx, word [ebp + 8]
mov word [ebp - 0x68], cx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00406d00
mov ax, word [ebp - 0x68]
jmp 0x429e43
cmp dword [ebp - 0x40], 0
jbe 0x429d8b
jmp 0x429dc4
lea ecx, [ebp - 0x3c]
call fcn.0040add0
cmp eax, 0x20
jae 0x429da6
push 0
push 8
lea ecx, [ebp - 0x3c]
call fcn.00410390
jmp 0x429dc4
call fcn.00420b60
mov word [ebp - 0x6a], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00406d00
mov ax, word [ebp - 0x6a]
jmp 0x429e43
jmp 0x429e2f
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x4c]
push eax
movzx ecx, word [ebp - 0x18]
push ecx
call fcn.00429890
add esp, 8
movzx edx, al
test edx, edx
je 0x429deb
mov ax, word [ebp + 8]
mov word [ebp - 0x7e], ax
jmp 0x429df4
call fcn.00420b60
mov word [ebp - 0x7e], ax
mov cx, word [ebp - 0x7e]
mov word [ebp - 0x6c], cx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00406d00
mov ax, word [ebp - 0x6c]
jmp 0x429e43
call fcn.00420b60
mov word [ebp - 0x6e], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00406d00
mov ax, word [ebp - 0x6e]
jmp 0x429e43
jmp 0x429c6e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret 4