Function at 0x443544
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x587334
call fcn.00510ecc
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
push 0x400
lea ecx, [ebp - 0x30]
call fcn.0042b87c
mov esi, dword [ebp + 0xc]
push 4
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
pop ebx
lea eax, [esi + 8]
push ebx
push eax
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.004433bf
test eax, eax
je 0x44358d
or esi, 0xffffffff
jmp 0x4438de
lea eax, [esi + 0xc]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.004433bf
test eax, eax
jne 0x443585
lea eax, [esi + 0x10]
push 8
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.004433bf
test eax, eax
jne 0x443585
lea eax, [esi + 0x1c]
push 8
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.004433bf
test eax, eax
jne 0x443585
lea eax, [esi + 0x28]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.004433bf
test eax, eax
jne 0x443585
cmp dword [esi + 0x30], 0x32
je 0x443609
mov ecx, dword [esi + 0x2c]
lea eax, [esi + 0x2c]
cmp dword [ecx - 8], 0x1000
jg 0x443609
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.004433f2
test eax, eax
je 0x443642
jmp 0x443585
push str._source_code_
lea ecx, [ebp + 0xc]
call fcn.00567f97
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004433f2
test eax, eax
setne bl
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00567f23
test bl, bl
jne 0x443585
push 4
pop ebx
lea eax, [esi + 0x30]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.004433bf
test eax, eax
jne 0x443585
lea eax, [esi + 0x34]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004433f2
test eax, eax
jne 0x443585
lea eax, [esi + 0x38]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004433f2
test eax, eax
jne 0x443585
lea eax, [esi + 0x3c]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004433f2
test eax, eax
jne 0x443585
lea eax, [esi + 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004433f2
test eax, eax
jne 0x443585
lea eax, [esi + 0x44]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004433f2
test eax, eax
jne 0x443585
lea eax, [esi + 0x48]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004433f2
test eax, eax
jne 0x443585
lea eax, [esi + 0x4c]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004433f2
test eax, eax
jne 0x443585
lea eax, [esi + 0x50]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004433f2
test eax, eax
jne 0x443585
lea eax, [esi + 0x54]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004433f2
test eax, eax
jne 0x443585
lea eax, [esi + 0x58]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004433f2
test eax, eax
jne 0x443585
lea eax, [esi + 0x60]
push 8
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.004433bf
test eax, eax
jne 0x443585
lea eax, [esi + 0x68]
push 8
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.004433bf
test eax, eax
jne 0x443585
lea eax, [esi + 0x70]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.004433bf
test eax, eax
jne 0x443585
lea eax, [esi + 0x74]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.004433bf
test eax, eax
jne 0x443585
lea eax, [esi + 0x78]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.004433bf
test eax, eax
jne 0x443585
lea eax, [esi + 0x80]
push 8
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.004433bf
test eax, eax
jne 0x443585
lea eax, [esi + 0x88]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.004433bf
test eax, eax
jne 0x443585
lea eax, [esi + 0x8c]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.004433bf
test eax, eax
jne 0x443585
lea eax, [esi + 0x90]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.004433bf
test eax, eax
jne 0x443585
lea eax, [esi + 0x94]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004433f2
test eax, eax
jne 0x443585
lea eax, [esi + 0x98]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004433f2
test eax, eax
jne 0x443585
lea eax, [esi + 0x9c]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044344f
test eax, eax
jne 0x443585
add esi, 0x264
lea eax, [ebp - 0x30]
push esi
push eax
mov ecx, edi
call fcn.004433f2
test eax, eax
jne 0x443585
lea ecx, [ebp - 0x30]
call fcn.0042b996
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 0x443585
cmp dword [ebp - 0x14], edi
jle 0x4438dc
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 0x443585
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042b8c5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8