Function at 0x4400ab
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
lea eax, [ebp + 8]
push edi
push eax
call fcn.00428a5b
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0042e1c4
lea ecx, [ebp - 0xc]
call fcn.0042e1c4
lea ecx, [ebp - 8]
call fcn.0042e1c4
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp word [eax], 0x2a
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48b0e8
jne 0x440121
add dword [ebp + 8], 2
mov esi, dword [ebp + 8]
push 0x2c
lea eax, [ebp + 8]
call fcn.0040404e
mov eax, dword [ebp + 8]
cmp word [eax], bx
pop ecx
je 0x44010d
mov word [eax], bx
inc eax
inc eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.00428a5b
push esi
call fcn.0040dca1
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
push 0x2c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043060a
push dword [ebp - 0x10]
call fcn.0040dca1
mov edi, eax
mov eax, dword [ebp + 8]
add esp, 0x10
cmp word [eax], 0x2c
mov dword [ebp - 0x1c], edi
jne 0x44014d
add dword [ebp + 8], 2
lea eax, [ebp + 8]
push eax
call fcn.00428a5b
mov esi, dword [ebp + 8]
push esi
push 0x48b0e0
call fcn.0042999a
add esp, 0xc
test al, al
je 0x440279
cmp dword [0x49adec], ebx
je 0x44038a
cmp word [edi], bx
jne 0x440185
mov edi, 0x48b0e8
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x4401c4
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], eax
jne 0x4401c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x440388
xor eax, eax
inc eax
jmp 0x440388
push 0x1064
lea ecx, [ebp - 0x18]
call fcn.0042e06b
push ebx
push ebx
push ebx
push dword [0x49adec]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [ebp - 0x18]
push 2
pop edi
mov dword [ebp - 4], 1
push 0x1000
lea eax, [esi + 0x19]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x440242
push dword [ebp - 4]
push dword [ebp - 4]
push str._r_n__12d_0x__7X
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push ebx
lea eax, [ebp - 0x1c]
push eax
push esi
mov byte [esi + 0x18], 0x3a
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub eax, edi
push eax
add edi, esi
push edi
push dword [0x49adec]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor edi, edi
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xffff
jle 0x4401f0
cmp dword [ebp - 0x14], ebx
jne 0x44025a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [0x49adec]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
mov dword [0x49adec], ebx
call fcn.00428a48
jmp 0x44038a
cmp word [edi], bx
jne 0x440288
mov ebx, 0x80070057
jmp 0x44038a
xor edi, edi
cmp word [esi], 0x2d
jne 0x440293
inc edi
inc esi
inc esi
cmp word [esi], bx
je 0x4402f9
push esi
push str.StartMenu
call fcn.0042999a
test al, al
pop ecx
pop ecx
jne 0x4402f9
cmp word [esi], 0x23
jne 0x4402d3
or dword [ebp - 4], 0xffffffff
push 0x2c
lea eax, [ebp - 4]
push eax
inc esi
lea eax, [ebp + 8]
inc esi
push eax
mov dword [ebp + 8], esi
call fcn.00430857
mov esi, dword [ebp - 4]
add esp, 0xc
cmp esi, ebx
jge 0x4402ff
jmp 0x44027e
push esi
push str.TaskBand
call fcn.0042999a
test al, al
pop ecx
pop ecx
je 0x4402ec
lea esi, [edi + 0x150a]
jmp 0x4402ff
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 8]
call fcn.0042e2ea
jmp 0x440338
lea esi, [edi + 0x1505]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
cmp edi, ebx
jne 0x440313
xor ebx, ebx
inc ebx
jmp 0x44038a
push 0x1001
lea ecx, [ebp - 8]
call fcn.0042e20b
push 0x1000
push dword [ebp - 8]
push esi
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [ebp - 8]
cmp word [eax], bx
je 0x44030e
mov eax, dword [ebp - 0x1c]
cmp word [eax], bx
je 0x44027e
push eax
call fcn.0040dca1
mov esi, eax
push esi
call fcn.00470011
test eax, eax
pop ecx
pop ecx
jne 0x44035d
push 2
pop ebx
jmp 0x44038a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.0043897f
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, ebx
je 0x44030e
push dword [ebp - 8]
mov word [eax - 2], bx
push eax
push dword [ebp - 0xc]
call fcn.00405388
add esp, 0xc
mov ebx, eax
lea ecx, [ebp - 8]
call fcn.00428a48
lea ecx, [ebp - 0xc]
call fcn.00428a48
lea ecx, [ebp - 0x10]
call fcn.00428a48
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8