Function at 0x42c078
Capabilities:
Write file on windows

Disassembly:
push 0x910
mov eax, 0x45cb66
call fcn.0043aa0b
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x8b0]
mov dword [ebp - 0x8fc], eax
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x900], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x8f8], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x8a0], ebx
mov dword [ebp - 0x89c], 7
mov word [ebp - 0x8b0], ax
lea eax, [ebp - 0x8b0]
mov dword [ebp - 4], ebx
push eax
push 0x405440
push 0x2a
mov dword [ebp - 0x8ec], ebx
call fcn.00438604
add esp, 0xc
test al, al
jne 0x42c142
mov eax, dword [ebp - 0x89c]
cmp eax, 8
jb 0x42c1c4
mov ecx, dword [ebp - 0x8b0]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x8e8], eax
mov dword [ebp - 0x8e4], ecx
cmp eax, 0x1000
jb 0x42c1bb
lea eax, [ebp - 0x8e8]
push eax
lea eax, [ebp - 0x8e4]
push eax
call fcn.0041568f
mov eax, dword [ebp - 0x8e8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x8e4]
jmp 0x42c1bb
cmp dword [ebp - 0x89c], 8
lea eax, [ebp - 0x8b0]
jb 0x42c157
mov eax, dword [ebp - 0x8b0]
push 0xa
push ebx
push eax
call fcn.0043ff75
mov ebx, eax
add esp, 0xc
mov dword [ebp - 0x8f4], ebx
test ebx, ebx
jne 0x42c1cb
mov eax, dword [ebp - 0x89c]
cmp eax, 8
jb 0x42c1c4
mov ecx, dword [ebp - 0x8b0]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x8e4], eax
mov dword [ebp - 0x8e8], ecx
cmp eax, 0x1000
jb 0x42c1bb
lea eax, [ebp - 0x8e4]
push eax
lea eax, [ebp - 0x8e8]
push eax
call fcn.0041568f
mov eax, dword [ebp - 0x8e4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x8e8]
push eax
push ecx
call fcn.0043a98a
pop ecx
pop ecx
mov al, 1
jmp 0x42c892
mov esi, 0x800
lea eax, [ebp - 0x810]
push esi
xor edi, edi
push edi
push eax
call fcn.0043c020
add esp, 0xc
lea eax, [ebp - 0x810]
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x42c1e9
mov dword [ebp - 0x8e8], esi
test ebx, ebx
jle 0x42c86f
xor eax, eax
lea edi, [ebp - 0x850]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [ebp - 0x840], 0
mov dword [ebp - 0x83c], 7
mov word [ebp - 0x850], ax
push 0x40544c
lea ecx, [ebp - 0x8e0]
mov byte [ebp - 4], 1
call fcn.0041407d
push 0xa
push 0x400
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 2
push eax
push esi
call fcn.00443e42
add esp, 0x10
lea ecx, [ebp - 0x8e0]
test eax, eax
jne 0x42c8a9
lea eax, [ebp - 0x810]
push eax
call fcn.00418f0a
push 8
pop edi
lea eax, [ebp - 0x8e0]
cmp dword [ebp - 0x8cc], edi
jb 0x42c286
mov eax, dword [ebp - 0x8e0]
lea ecx, [ebp - 0x850]
push ecx
push eax
push 0x2a
call fcn.00438604
add esp, 0xc
test al, al
jne 0x42c308
lea ecx, [ebp - 0x8e0]
call fcn.00415705
mov eax, dword [ebp - 0x83c]
mov byte [ebp - 4], 0
cmp eax, edi
jb 0x42c860
mov ecx, dword [ebp - 0x850]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x8e4], eax
mov dword [ebp - 0x8e8], ecx
cmp eax, 0x1000
jb 0x42c2fa
lea eax, [ebp - 0x8e4]
push eax
lea eax, [ebp - 0x8e8]
push eax
call fcn.0041568f
mov eax, dword [ebp - 0x8e4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x8e8]
push eax
push ecx
call fcn.0043a98a
pop ecx
pop ecx
jmp 0x42c860
push 0x40545c
lea ecx, [ebp - 0x8c8]
call fcn.0041407d
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x8c8]
call fcn.00418f0a
xor edi, edi
lea eax, [ebp - 0x8c8]
cmp dword [ebp - 0x8b4], 8
mov dword [ebp - 0x8ec], edi
jb 0x42c34b
mov eax, dword [ebp - 0x8c8]
lea ecx, [ebp - 0x8ec]
push ecx
push edi
push eax
push 0x2a
push dword [0x4636f0]
call fcn.0043764e
add esp, 0x14
cmp eax, 0xea
jne 0x42c898
cmp dword [ebp - 0x8ec], edi
je 0x42c898
xor eax, eax
lea edi, [ebp - 0x820]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x820]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov byte [ebp - 0x8ed], al
mov dword [ebp - 0x820], eax
mov dword [ebp - 0x81c], eax
mov dword [ebp - 0x818], eax
lea eax, [ebp - 0x8ed]
push eax
push dword [ebp - 0x8ec]
call fcn.0042b27e
cmp dword [ebp - 0x8b4], 8
lea eax, [ebp - 0x8c8]
mov byte [ebp - 4], 4
jb 0x42c3d1
mov eax, dword [ebp - 0x8c8]
mov ebx, dword [ebp - 0x820]
lea ecx, [ebp - 0x8ec]
push ecx
push ebx
push eax
push 0x2a
push dword [0x4636f0]
call fcn.0043764e
xor eax, eax
lea edi, [ebp - 0x838]
stosd dword es:[edi], eax
add esp, 0x14
stosd dword es:[edi], eax
push 7
pop esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
xor edi, edi
mov dword [ebp - 0x824], esi
mov dword [ebp - 0x828], edi
mov word [ebp - 0x838], ax
cmp dword [ebp - 0x83c], 8
lea ecx, [ebp - 0x850]
mov byte [ebp - 4], 5
jb 0x42c42f
mov ecx, dword [ebp - 0x850]
mov edx, dword [ebp - 0x8fc]
mov eax, edx
cmp dword [edx + 0x14], 8
jb 0x42c43f
mov eax, dword [edx]
push edi
push ecx
push eax
lea eax, [ebp - 0x838]
push edi
push eax
call fcn.004386be
xor eax, eax
lea edi, [ebp - 0x898]
stosd dword es:[edi], eax
xor ecx, ecx
add esp, 0x14
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x888], ecx
mov dword [ebp - 0x884], esi
mov word [ebp - 0x898], ax
lea edi, [ebp - 0x880]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x870], ecx
mov dword [ebp - 0x86c], esi
mov word [ebp - 0x880], ax
lea edi, [ebp - 0x868]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x858], ecx
mov dword [ebp - 0x854], esi
mov word [ebp - 0x868], ax
cmp dword [ebp - 0x824], 8
lea eax, [ebp - 0x838]
mov byte [ebp - 4], 8
jb 0x42c4cc
mov eax, dword [ebp - 0x838]
push ecx
push ecx
lea ecx, [ebp - 0x880]
push ecx
lea ecx, [ebp - 0x898]
push ecx
push eax
call fcn.00438dbb
add esp, 0x14
lea ecx, [ebp - 0x880]
cmp dword [ebp - 0x86c], 8
jb 0x42c4fa
mov ecx, dword [ebp - 0x880]
cmp dword [ebp - 0x884], 8
lea eax, [ebp - 0x898]
jb 0x42c50f
mov eax, dword [ebp - 0x898]
xor edi, edi
push edi
push edi
push ecx
push eax
lea eax, [ebp - 0x868]
push eax
call fcn.004386be
add esp, 0x14
lea eax, [ebp - 0x868]
cmp dword [ebp - 0x854], 8
jb 0x42c539
mov eax, dword [ebp - 0x868]
push eax
call fcn.00436733
cmp dword [ebp - 0x824], 8
lea eax, [ebp - 0x838]
pop ecx
jb 0x42c555
mov eax, dword [ebp - 0x838]
mov esi, dword [0x462980]
mov ecx, esi
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push eax
call dword [0x465348]
call esi
mov edi, eax
xor esi, esi
cmp edi, 0xffffffff
je 0x42c5a2
push esi
lea eax, [ebp - 0x814]
mov dword [ebp - 0x814], esi
push eax
push dword [ebp - 0x8ec]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42c907
mov ecx, dword [ebp - 0x900]
lea eax, [ebp - 0x850]
push eax
call fcn.0041c35a
mov ecx, dword [ebp - 0x8f8]
lea eax, [ebp - 0x838]
push eax
call fcn.0041c35a
cmp edi, 0xffffffff
je 0x42c5d2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x854]
push 8
pop edi
cmp eax, edi
jb 0x42c629
mov ecx, dword [ebp - 0x868]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x8e4], eax
mov dword [ebp - 0x814], ecx
cmp eax, 0x1000
jb 0x42c620
lea eax, [ebp - 0x8e4]
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.0041568f
mov eax, dword [ebp - 0x8e4]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x814]
push eax
push ecx
call fcn.0043a98a
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x858], esi
mov word [ebp - 0x868], ax
mov eax, dword [ebp - 0x86c]
mov dword [ebp - 0x854], 7
cmp eax, edi
jb 0x42c696
mov ecx, dword [ebp - 0x880]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x814], eax
mov dword [ebp - 0x8e4], ecx
cmp eax, 0x1000
jb 0x42c68d
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x8e4]
push eax
call fcn.0041568f
mov eax, dword [ebp - 0x814]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x8e4]
push eax
push ecx
call fcn.0043a98a
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x870], esi
mov word [ebp - 0x880], ax
mov eax, dword [ebp - 0x884]
mov dword [ebp - 0x86c], 7
cmp eax, edi
jb 0x42c703
mov ecx, dword [ebp - 0x898]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x814], eax
mov dword [ebp - 0x8e4], ecx
cmp eax, 0x1000
jb 0x42c6fa
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x8e4]
push eax
call fcn.0041568f
mov eax, dword [ebp - 0x814]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x8e4]
push eax
push ecx
call fcn.0043a98a
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x888], esi
mov word [ebp - 0x898], ax
mov eax, dword [ebp - 0x824]
mov dword [ebp - 0x884], 7
cmp eax, edi
jb 0x42c770
mov ecx, dword [ebp - 0x838]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x814], eax
mov dword [ebp - 0x8e4], ecx
cmp eax, 0x1000
jb 0x42c767
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x8e4]
push eax
call fcn.0041568f
mov eax, dword [ebp - 0x814]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x8e4]
push eax
push ecx
call fcn.0043a98a
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x828], esi
mov dword [ebp - 0x824], 7
mov word [ebp - 0x838], ax
test ebx, ebx
je 0x42c7e6
mov eax, dword [ebp - 0x818]
sub eax, ebx
mov dword [ebp - 0x8e4], ebx
mov dword [ebp - 0x814], eax
cmp eax, 0x1000
jb 0x42c7c9
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x8e4]
push eax
call fcn.0041568f
mov eax, dword [ebp - 0x814]
mov ebx, dword [ebp - 0x8e4]
pop ecx
pop ecx
push eax
push ebx
call fcn.0043a98a
xor eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x820], eax
mov dword [ebp - 0x81c], eax
mov dword [ebp - 0x818], eax
lea ecx, [ebp - 0x8c8]
call fcn.00415705
lea ecx, [ebp - 0x8e0]
call fcn.00415705
mov eax, dword [ebp - 0x83c]
mov byte [ebp - 4], 0
cmp eax, edi
jb 0x42c854
mov ecx, dword [ebp - 0x850]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x814], eax
mov dword [ebp - 0x8e4], ecx
cmp eax, 0x1000
jb 0x42c84b
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x8e4]
push eax
call fcn.0041568f
mov eax, dword [ebp - 0x814]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x8e4]
push eax
push ecx
call fcn.0043a98a
pop ecx
pop ecx
mov esi, dword [ebp - 0x8e8]
mov ebx, dword [ebp - 0x8f4]
inc esi
mov dword [ebp - 0x8e8], esi
cmp esi, ebx
jl 0x42c200
mov ecx, dword [ebp - 0x8f8]
push 0x18
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
pop ecx
cdq
idiv ecx
lea ecx, [ebp - 0x8b0]
mov esi, eax
call fcn.00415705
cmp esi, ebx
sete al
call fcn.0043a9ba
ret
lea ecx, [ebp - 0x8c8]
call fcn.00415705
lea ecx, [ebp - 0x8e0]
call fcn.00415705
mov eax, dword [ebp - 0x83c]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x42c860
mov ecx, dword [ebp - 0x850]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x814], eax
mov dword [ebp - 0x8e4], ecx
cmp eax, 0x1000
jb 0x42c2fa
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x8e4]
push eax
call fcn.0041568f
mov eax, dword [ebp - 0x814]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x8e4]
jmp 0x42c2fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x838]
call fcn.004157b7
push eax
lea ecx, [ebp - 0x850]
call fcn.004157b7
push eax
push 0x58f
lea eax, [ebp - 0x91c]
push esi
push eax
call fcn.004140d9
add esp, 0x14
lea eax, [ebp - 0x91c]
push 0x45ddbc
push eax
call fcn.0043b678
int3