Function at 0x43be44
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.00427312
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0042c809
lea ecx, [ebp - 0xc]
call fcn.0042c809
lea ecx, [ebp - 8]
call fcn.0042c809
mov eax, dword [ebp + 8]
xor edi, edi
cmp word [eax], 0x2a
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], 0x486d78
jne 0x43beba
add dword [ebp + 8], 2
mov esi, dword [ebp + 8]
push 0x2c
lea eax, [ebp + 8]
call fcn.0042c33c
mov eax, dword [ebp + 8]
cmp word [eax], di
pop ecx
je 0x43bea6
mov word [eax], di
inc eax
inc eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.00427312
push esi
call fcn.0040d003
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.0042ec20
push dword [ebp - 0x10]
call fcn.0040d003
mov ebx, eax
mov eax, dword [ebp + 8]
add esp, 0x10
cmp word [eax], 0x2c
mov dword [ebp - 0x1c], ebx
jne 0x43bee6
add dword [ebp + 8], 2
lea eax, [ebp + 8]
push eax
call fcn.00427312
mov esi, dword [ebp + 8]
push esi
push 0x486d70
call fcn.00428293
add esp, 0xc
test al, al
je 0x43c012
cmp dword [0x496de4], edi
je 0x43c119
cmp word [ebx], di
jne 0x43bf1e
mov ebx, 0x486d78
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, edi
mov dword [ebp + 8], eax
jne 0x43bf5d
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], eax
jne 0x43bf5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jne 0x43c117
xor eax, eax
inc eax
jmp 0x43c117
push 0x1064
lea ecx, [ebp - 0x18]
call fcn.0042c6b0
push edi
push edi
push edi
push dword [0x496de4]
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [ebp - 0x18]
push 2
pop ebx
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 0x43bfdb
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 edi
lea eax, [ebp - 0x1c]
push eax
push esi
mov byte [esi + 0x18], 0x3a
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub eax, ebx
push eax
add ebx, esi
push ebx
push dword [0x496de4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor ebx, ebx
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xffff
jle 0x43bf89
cmp dword [ebp - 0x14], edi
jne 0x43bff3
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [0x496de4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
mov dword [0x496de4], edi
call fcn.00427365
jmp 0x43c119
cmp word [ebx], di
jne 0x43c021
mov edi, 0x80070057
jmp 0x43c119
mov bx, word [esi]
cmp bx, di
je 0x43c089
push esi
push str.StartMenu
call fcn.00428293
test al, al
pop ecx
pop ecx
jne 0x43c089
cmp bx, 0x23
jne 0x43c064
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.0042ee6d
mov ebx, dword [ebp - 4]
add esp, 0xc
cmp ebx, edi
jge 0x43c08e
jmp 0x43c017
push esi
push 0x486d48
call fcn.00428293
test al, al
pop ecx
pop ecx
je 0x43c07c
mov ebx, 0x150a
jmp 0x43c08e
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 8]
call fcn.0042c92f
jmp 0x43c0c7
mov ebx, 0x1505
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
cmp esi, edi
jne 0x43c0a2
xor edi, edi
inc edi
jmp 0x43c119
push 0x1001
lea ecx, [ebp - 8]
call fcn.0042c850
push 0x1000
push dword [ebp - 8]
push ebx
push esi
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [ebp - 8]
cmp word [eax], di
je 0x43c09d
mov eax, dword [ebp - 0x1c]
cmp word [eax], di
je 0x43c017
push eax
call fcn.0040d003
mov esi, eax
push esi
call fcn.0046c682
test eax, eax
pop ecx
pop ecx
jne 0x43c0ec
push 2
pop edi
jmp 0x43c119
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.004350b7
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, edi
je 0x43c09d
push dword [ebp - 8]
mov word [eax - 2], di
push eax
push dword [ebp - 0xc]
call fcn.00404ff9
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 8]
call fcn.00427365
lea ecx, [ebp - 0xc]
call fcn.00427365
lea ecx, [ebp - 0x10]
call fcn.00427365
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8