Function at 0x44a8ba
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x58f688
call fcn.00552eac
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
push 0x400
lea ecx, [ebp - 0x30]
call fcn.0042d915
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.0044a735
test eax, eax
je 0x44a903
or esi, 0xffffffff
jmp 0x44ac54
lea eax, [esi + 0xc]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.0044a735
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x10]
push 8
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.0044a735
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x1c]
push 8
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.0044a735
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x28]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.0044a735
test eax, eax
jne 0x44a8fb
cmp dword [esi + 0x30], 0x32
je 0x44a97f
mov ecx, dword [esi + 0x2c]
lea eax, [esi + 0x2c]
cmp dword [ecx - 8], 0x1000
jg 0x44a97f
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.0044a768
test eax, eax
je 0x44a9b8
jmp 0x44a8fb
push str._source_code_
lea ecx, [ebp + 0xc]
call fcn.00570d02
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0044a768
test eax, eax
setne bl
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00570c8e
test bl, bl
jne 0x44a8fb
push 4
pop ebx
lea eax, [esi + 0x30]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.0044a735
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x34]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044a768
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x38]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044a768
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x3c]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044a768
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x40]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044a768
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x44]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044a768
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x48]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044a768
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x4c]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044a768
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x50]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044a768
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x54]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044a768
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x58]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044a768
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x60]
push 8
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.0044a735
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x68]
push 8
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.0044a735
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x70]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.0044a735
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x74]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.0044a735
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x78]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.0044a735
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x80]
push 8
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.0044a735
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x88]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.0044a735
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x8c]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.0044a735
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x90]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.0044a735
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x94]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044a768
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x98]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044a768
test eax, eax
jne 0x44a8fb
lea eax, [esi + 0x9c]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044a7c5
test eax, eax
jne 0x44a8fb
add esi, 0x264
lea eax, [ebp - 0x30]
push esi
push eax
mov ecx, edi
call fcn.0044a768
test eax, eax
jne 0x44a8fb
lea ecx, [ebp - 0x30]
call fcn.0042da2f
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 0x44a8fb
cmp dword [ebp - 0x14], edi
jle 0x44ac52
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 0x44a8fb
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042d95e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8