Function at 0x442e4f
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x57f19c
call fcn.00508ecc
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
push 0x400
lea ecx, [ebp - 0x30]
call fcn.0042bbbd
mov esi, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
push 4
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00442cca
test eax, eax
je 0x442e96
or esi, 0xffffffff
jmp 0x44310d
lea eax, [esi + 0xc]
push 4
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.00442cca
test eax, eax
jne 0x442e8e
lea eax, [esi + 0x10]
push 8
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.00442cca
test eax, eax
jne 0x442e8e
lea eax, [esi + 0x1c]
push 8
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.00442cca
test eax, eax
jne 0x442e8e
lea eax, [esi + 0x28]
push 4
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.00442cca
test eax, eax
jne 0x442e8e
lea ebx, [esi + 0x30]
push 4
lea eax, [ebp - 0x30]
push ebx
push eax
mov ecx, edi
call fcn.00442cca
test eax, eax
jne 0x442e8e
cmp dword [ebx], 0x32
je 0x442f28
mov ecx, dword [esi + 0x2c]
lea eax, [esi + 0x2c]
cmp dword [ecx - 8], 0x1000
jg 0x442f28
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.00442cfd
test eax, eax
je 0x442f5a
jmp 0x442e8e
push str._source_code_
lea ecx, [ebp + 0xc]
call fcn.0055ffe9
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00442cfd
test eax, eax
setne bl
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0055ff75
test bl, bl
jmp 0x442f21
lea eax, [esi + 0x34]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00442cfd
test eax, eax
jne 0x442e8e
lea eax, [esi + 0x38]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00442cfd
test eax, eax
jne 0x442e8e
lea eax, [esi + 0x3c]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00442cfd
test eax, eax
jne 0x442e8e
lea eax, [esi + 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00442cfd
test eax, eax
jne 0x442e8e
lea eax, [esi + 0x44]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00442cfd
test eax, eax
jne 0x442e8e
lea eax, [esi + 0x48]
push 8
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.00442cca
test eax, eax
jne 0x442e8e
lea eax, [esi + 0x50]
push 8
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.00442cca
test eax, eax
jne 0x442e8e
push 4
lea eax, [esi + 0x58]
pop ebx
mov ecx, edi
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00442cca
test eax, eax
jne 0x442e8e
lea eax, [esi + 0x5c]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.00442cca
test eax, eax
jne 0x442e8e
lea eax, [esi + 0x60]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.00442cca
test eax, eax
jne 0x442e8e
lea eax, [esi + 0x64]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.00442cca
test eax, eax
jne 0x442e8e
lea eax, [esi + 0x68]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00442cfd
test eax, eax
jne 0x442e8e
lea eax, [esi + 0x6c]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00442cfd
test eax, eax
jne 0x442e8e
lea eax, [esi + 0x70]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00442cfd
test eax, eax
jne 0x442e8e
add esi, 0x74
lea eax, [ebp - 0x30]
push esi
push eax
mov ecx, edi
call fcn.00442d5a
test eax, eax
jne 0x442e8e
lea ecx, [ebp - 0x30]
call fcn.0042bcd7
mov dword [ebp - 0x14], eax
xor edi, edi
lea eax, [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
push eax
lea eax, [ebp - 0x14]
push ebx
push eax
mov dword [ebp - 0x10], edi
push dword [ebp + 8]
call esi
test eax, eax
je 0x442e8e
cmp dword [ebp - 0x14], edi
jle 0x44310b
lea eax, [ebp - 0x10]
push edi
push eax
mov dword [ebp - 0x10], edi
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push dword [ebp + 8]
call esi
test eax, eax
je 0x442e8e
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042bc06
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8