Function at 0x443ad0
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.0042dd40
pop ecx
lea ecx, [ebp - 0x14]
call fcn.00432cb7
lea ecx, [ebp - 0x10]
call fcn.00432cb7
lea ecx, [ebp - 8]
call fcn.00432cb7
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
cmp word [eax], 0x2a
mov dword [ebp - 0x1c], 0x4956d0
jne 0x443b46
add dword [ebp + 8], 2
mov esi, dword [ebp + 8]
push 0x2c
lea eax, [ebp + 8]
call fcn.0043291a
mov eax, dword [ebp + 8]
cmp word [eax], bx
pop ecx
je 0x443b32
mov word [eax], bx
inc eax
inc eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
call fcn.0042dd40
push esi
call fcn.0040e84c
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.0043541b
push dword [ebp - 0x14]
call fcn.0040e84c
mov edi, eax
mov eax, dword [ebp + 8]
add esp, 0x10
cmp word [eax], 0x2c
mov dword [ebp - 0x20], edi
jne 0x443b72
add dword [ebp + 8], 2
lea eax, [ebp + 8]
push eax
call fcn.0042dd40
mov esi, dword [ebp + 8]
push esi
push 0x4956c8
call fcn.0042ece0
add esp, 0xc
test al, al
je 0x443c9e
cmp dword [0x4a5e10], ebx
je 0x443db1
cmp word [edi], bx
jne 0x443baa
mov edi, 0x4956d0
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 0x443be9
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp + 8], eax
jne 0x443be9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x443daf
xor eax, eax
inc eax
jmp 0x443daf
push 0x1064
lea ecx, [ebp - 0x1c]
call fcn.00432b5e
push ebx
push ebx
push ebx
push dword [0x4a5e10]
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 0x443c67
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 [0x4a5e10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor edi, edi
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xffff
jle 0x443c15
cmp dword [ebp - 0x18], ebx
jne 0x443c7f
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [0x4a5e10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x1c]
mov dword [0x4a5e10], ebx
call fcn.0042dd2d
jmp 0x443db1
cmp word [edi], bx
jne 0x443cad
mov ebx, 0x80070057
jmp 0x443db1
xor edi, edi
cmp word [esi], 0x2d
jne 0x443cb8
inc edi
inc esi
inc esi
cmp word [esi], bx
je 0x443d1e
push esi
push str.StartMenu
call fcn.0042ece0
test al, al
pop ecx
pop ecx
jne 0x443d1e
cmp word [esi], 0x23
jne 0x443cf8
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.00435668
mov esi, dword [ebp - 4]
add esp, 0xc
cmp esi, ebx
jge 0x443d24
jmp 0x443ca3
push esi
push 0x4956a0
call fcn.0042ece0
test al, al
pop ecx
pop ecx
je 0x443d11
lea esi, [edi + 0x150a]
jmp 0x443d24
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 8]
call fcn.00432ddd
jmp 0x443d5d
lea esi, [edi + 0x1505]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
cmp edi, ebx
jne 0x443d38
xor ebx, ebx
inc ebx
jmp 0x443db1
push 0x1001
lea ecx, [ebp - 8]
call fcn.00432cfe
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 0x443d33
mov eax, dword [ebp - 0x20]
cmp word [eax], bx
je 0x443ca3
push eax
call fcn.0040e84c
mov esi, eax
push esi
call fcn.00479791
test eax, eax
pop ecx
pop ecx
jne 0x443d82
push 2
pop ebx
jmp 0x443db1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.0046de50
mov eax, dword [ebp - 0xc]
add esp, 0xc
cmp eax, ebx
je 0x443d33
push dword [ebp - 8]
mov word [eax - 2], bx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.004055ac
add esp, 0xc
mov ebx, eax
lea ecx, [ebp - 8]
call fcn.0042dd2d
lea ecx, [ebp - 0x10]
call fcn.0042dd2d
lea ecx, [ebp - 0x14]
call fcn.0042dd2d
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8