Function at 0x4450f8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
lea eax, [ebp + 8]
push edi
push eax
call fcn.0042ebab
pop ecx
lea ecx, [ebp - 0x14]
call fcn.00433c24
lea ecx, [ebp - 0x10]
call fcn.00433c24
lea ecx, [ebp - 8]
call fcn.00433c24
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
cmp word [eax], 0x2a
mov dword [ebp - 0x1c], 0x4967f0
jne 0x44516e
add dword [ebp + 8], 2
mov esi, dword [ebp + 8]
push 0x2c
lea eax, [ebp + 8]
call fcn.00433886
mov eax, dword [ebp + 8]
cmp word [eax], bx
pop ecx
je 0x44515a
mov word [eax], bx
inc eax
inc eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.0042ebab
push esi
call fcn.0040ec9c
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
push 0x2c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004364f8
push dword [ebp - 0x14]
call fcn.0040ec9c
mov edi, eax
mov eax, dword [ebp + 8]
add esp, 0x10
cmp word [eax], 0x2c
mov dword [ebp - 0x20], edi
jne 0x44519a
add dword [ebp + 8], 2
lea eax, [ebp + 8]
push eax
call fcn.0042ebab
mov esi, dword [ebp + 8]
push esi
push 0x4967e8
call fcn.0042fb17
add esp, 0xc
test al, al
je 0x4452c6
cmp dword [0x4a6e10], ebx
je 0x4453d9
cmp word [edi], bx
jne 0x4451d2
mov edi, 0x4967f0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x445211
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp + 8], eax
jne 0x445211
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x4453d7
xor eax, eax
inc eax
jmp 0x4453d7
push 0x1064
lea ecx, [ebp - 0x1c]
call fcn.00433b18
push ebx
push ebx
push ebx
push dword [0x4a6e10]
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [ebp - 0x1c]
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 0x44528f
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 - 0x20]
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 [0x4a6e10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor edi, edi
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xffff
jle 0x44523d
cmp dword [ebp - 0x18], ebx
jne 0x4452a7
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [0x4a6e10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x1c]
mov dword [0x4a6e10], ebx
call fcn.0042eb98
jmp 0x4453d9
cmp word [edi], bx
jne 0x4452d5
mov ebx, 0x80070057
jmp 0x4453d9
xor edi, edi
cmp word [esi], 0x2d
jne 0x4452e0
inc edi
inc esi
inc esi
cmp word [esi], bx
je 0x445346
push esi
push str.StartMenu
call fcn.0042fb17
test al, al
pop ecx
pop ecx
jne 0x445346
cmp word [esi], 0x23
jne 0x445320
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.00436745
mov esi, dword [ebp - 4]
add esp, 0xc
cmp esi, ebx
jge 0x44534c
jmp 0x4452cb
push esi
push str.TaskBand
call fcn.0042fb17
test al, al
pop ecx
pop ecx
je 0x445339
lea esi, [edi + 0x150a]
jmp 0x44534c
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 8]
call fcn.00433d4a
jmp 0x445385
lea esi, [edi + 0x1505]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
cmp edi, ebx
jne 0x445360
xor ebx, ebx
inc ebx
jmp 0x4453d9
push 0x1001
lea ecx, [ebp - 8]
call fcn.00433c6b
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 0x44535b
mov eax, dword [ebp - 0x20]
cmp word [eax], bx
je 0x4452cb
push eax
call fcn.0040ec9c
mov esi, eax
push esi
call fcn.0047acb6
test eax, eax
pop ecx
pop ecx
jne 0x4453aa
push 2
pop ebx
jmp 0x4453d9
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.0046f35f
mov eax, dword [ebp - 0xc]
add esp, 0xc
cmp eax, ebx
je 0x44535b
push dword [ebp - 8]
mov word [eax - 2], bx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.004055c9
add esp, 0xc
mov ebx, eax
lea ecx, [ebp - 8]
call fcn.0042eb98
lea ecx, [ebp - 0x10]
call fcn.0042eb98
lea ecx, [ebp - 0x14]
call fcn.0042eb98
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8