Function at 0x447be6
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.00430961
pop ecx
lea ecx, [ebp - 0x14]
call fcn.00435d62
lea ecx, [ebp - 0x10]
call fcn.00435d62
lea ecx, [ebp - 8]
call fcn.00435d62
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
cmp word [eax], 0x2a
mov dword [ebp - 0x1c], 0x49be10
jne 0x447c5c
add dword [ebp + 8], 2
mov esi, dword [ebp + 8]
push 0x2c
lea eax, [ebp + 8]
call fcn.004754d0
mov eax, dword [ebp + 8]
cmp word [eax], bx
pop ecx
je 0x447c48
mov word [eax], bx
inc eax
inc eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.00430961
push esi
call fcn.0040eec0
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.004386e6
push dword [ebp - 0x14]
call fcn.0040eec0
mov edi, eax
mov eax, dword [ebp + 8]
add esp, 0x10
cmp word [eax], 0x2c
mov dword [ebp - 0x20], edi
jne 0x447c88
add dword [ebp + 8], 2
lea eax, [ebp + 8]
push eax
call fcn.00430961
mov esi, dword [ebp + 8]
push esi
push 0x49be08
call fcn.004318e1
add esp, 0xc
test al, al
je 0x447db4
cmp dword [0x4ace14], ebx
je 0x447ec7
cmp word [edi], bx
jne 0x447cc0
mov edi, 0x49be10
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 0x447cff
push edi
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp + 8], eax
jne 0x447cff
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, ebx
jne 0x447ec5
xor eax, eax
inc eax
jmp 0x447ec5
push 0x1064
lea ecx, [ebp - 0x1c]
call fcn.00435c56
push ebx
push ebx
push ebx
push dword [0x4ace14]
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 0x447d7d
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 [0x4ace14]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
xor edi, edi
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xffff
jle 0x447d2b
cmp dword [ebp - 0x18], ebx
jne 0x447d95
push ebx
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
push dword [0x4ace14]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [ebp - 0x1c]
mov dword [0x4ace14], ebx
call fcn.0043092f
jmp 0x447ec7
cmp word [edi], bx
jne 0x447dc3
mov ebx, 0x80070057
jmp 0x447ec7
xor edi, edi
cmp word [esi], 0x2d
jne 0x447dce
inc edi
inc esi
inc esi
cmp word [esi], bx
je 0x447e34
push esi
push str.StartMenu
call fcn.004318e1
test al, al
pop ecx
pop ecx
jne 0x447e34
cmp word [esi], 0x23
jne 0x447e0e
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.00438933
mov esi, dword [ebp - 4]
add esp, 0xc
cmp esi, ebx
jge 0x447e3a
jmp 0x447db9
push esi
push str.TaskBand
call fcn.004318e1
test al, al
pop ecx
pop ecx
je 0x447e27
lea esi, [edi + 0x150a]
jmp 0x447e3a
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 8]
call fcn.00435e88
jmp 0x447e73
lea esi, [edi + 0x1505]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov edi, eax
cmp edi, ebx
jne 0x447e4e
xor ebx, ebx
inc ebx
jmp 0x447ec7
push 0x1001
lea ecx, [ebp - 8]
call fcn.00435da9
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 0x447e49
mov eax, dword [ebp - 0x20]
cmp word [eax], bx
je 0x447db9
push eax
call fcn.0040eec0
mov esi, eax
push esi
call fcn.0047f7b4
test eax, eax
pop ecx
pop ecx
jne 0x447e98
push 2
pop ebx
jmp 0x447ec7
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.00473899
mov eax, dword [ebp - 0xc]
add esp, 0xc
cmp eax, ebx
je 0x447e49
push dword [ebp - 8]
mov word [eax - 2], bx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00405a61
add esp, 0xc
mov ebx, eax
lea ecx, [ebp - 8]
call fcn.0043092f
lea ecx, [ebp - 0x10]
call fcn.0043092f
lea ecx, [ebp - 0x14]
call fcn.0043092f
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8