Function at 0x462560
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ea698
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
lea eax, [esp + 0x38]
push edi
push eax
call fcn.00443850
push 2
call fcn.00449130
xor ebp, ebp
add esp, 8
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x46259d
mov word [eax], bp
push 2
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], ebp
call fcn.00449130
add esp, 4
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x4625ba
mov word [eax], bp
push 2
call fcn.00449130
mov edi, eax
add esp, 4
cmp edi, ebp
mov dword [esp + 0x18], edi
je 0x4625d1
mov word [edi], bp
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], ebp
cmp word [eax], 0x2a
mov byte [esp + 0x34], 2
mov dword [esp + 0x24], 0x4f9f64
jne 0x46263e
add eax, 2
mov dword [esp + 0x3c], eax
mov esi, eax
je 0x462618
mov cx, word [eax]
cmp cx, bp
je 0x462627
nop
cmp cx, 0x2c
je 0x462614
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x462600
jmp 0x462623
mov dword [esp + 0x3c], eax
cmp word [eax], bp
je 0x462627
mov word [eax], bp
add eax, 2
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00443850
push esi
call fcn.00422077
add esp, 8
mov dword [esp + 0x24], eax
push 0x2c
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.0044c770
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00422077
mov edx, dword [esp + 0x4c]
add esp, 0x10
cmp word [edx], 0x2c
mov ebx, eax
mov dword [esp + 0x28], ebx
jne 0x462675
mov eax, edx
add eax, 2
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
push eax
call fcn.00443850
mov esi, dword [esp + 0x40]
push esi
push 0x4f9f5c
call fcn.00444a10
add esp, 0xc
test al, al
je 0x4628dd
cmp dword [0x51d1dc], ebp
jne 0x4626ff
cmp edi, ebp
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x4626b9
mov ecx, dword [0x51d3c8]
add edi, 0xfffffff8
push edi
push ebp
push ecx
call esi
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4626cf
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push edx
call esi
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov dword [esp + 0x10], ebp
je 0x4626e8
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push ebp
push eax
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
cmp word [ebx], bp
mov esi, ebx
jne 0x46270b
mov esi, 0x4f9f64
push ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
mov dword [esp + 0x24], ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebp
mov dword [esp + 0x3c], eax
jne 0x4627ab
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], eax
jne 0x4627ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, ebp
jne 0x46274d
mov ebx, 1
cmp edi, ebp
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x462765
mov ecx, dword [0x51d3c8]
add edi, 0xfffffff8
push edi
push ebp
push ecx
call esi
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x46277b
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push edx
call esi
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov dword [esp + 0x10], ebp
je 0x462794
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push ebp
push eax
call esi
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
push 0x1065
call fcn.00449130
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x4627c1
mov byte [esi], 0
mov ecx, dword [0x51d1dc]
push ebp
push ebp
push ebp
push ecx
mov dword [esp + 0x34], ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
mov ebp, 2
mov edi, 1
jmp 0x4627f0
mov edx, dword [esp + 0x3c]
push 0x1000
lea eax, [esi + 0x19]
push eax
push edi
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x46283d
push edi
push edi
push str._r_n__12d_0x__7X
push esi
call ebx
add esp, 0x10
push 0
lea eax, [esp + 0x28]
push eax
push esi
mov byte [esi + 0x18], 0x3a
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [0x51d1dc]
sub eax, ebp
push eax
add ebp, esi
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor ebp, ebp
inc edi
cmp edi, 0xffff
jle 0x4627f0
mov eax, dword [esp + 0x20]
xor ebx, ebx
cmp eax, ebx
jne 0x462857
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [0x51d1dc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [0x51d1dc], ebx
je 0x462881
mov eax, dword [0x51d3c8]
add esi, 0xfffffff8
push esi
push ebx
push eax
call edi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x462897
mov ecx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebx
push ecx
call edi
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4628ad
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebx
push edx
call edi
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x10], ebx
je 0x4628c6
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push ebx
push eax
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
cmp word [ebx], bp
jne 0x462943
cmp edi, ebp
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x4628fa
mov ecx, dword [0x51d3c8]
add edi, 0xfffffff8
push edi
push ebp
push ecx
call esi
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x462910
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push edx
call esi
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov dword [esp + 0x10], ebp
je 0x462929
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push ebp
push eax
call esi
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov di, word [esi]
cmp di, bp
je 0x4629f7
push esi
push str.StartMenu
call fcn.00444a10
add esp, 8
test al, al
jne 0x4629f7
cmp di, 0x23
jne 0x4629cb
push 0x2c
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x44]
add esi, 2
push edx
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x48], esi
call fcn.0044cb50
mov ebx, dword [esp + 0x2c]
add esp, 0xc
cmp ebx, ebp
jge 0x4629fc
lea ecx, [esp + 0x18]
call fcn.00443880
lea ecx, [esp + 0x10]
call fcn.00443880
lea ecx, [esp + 0x14]
call fcn.00443880
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
push esi
push str.TaskBand
call fcn.00444a10
add esp, 8
test al, al
je 0x4629e4
mov ebx, 0x150a
jmp 0x4629fc
push esi
lea ecx, [esp + 0x1c]
call fcn.004566f0
mov esi, dword [esp + 0x18]
jmp 0x462aac
mov ebx, 0x1505
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
cmp edi, ebp
jne 0x462a72
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x462a29
mov ecx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push ecx
call esi
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x462a3f
mov edx, dword [0x51d3c8]
add eax, 0xfffffff8
push eax
push ebp
push edx
call esi
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov dword [esp + 0x10], ebp
je 0x462a58
add eax, 0xfffffff8
push eax
mov eax, dword [0x51d3c8]
push ebp
push eax
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov ecx, dword [esp + 0x18]
push ecx
mov eax, 0x2004
call fcn.00449190
mov esi, eax
add esp, 4
cmp esi, ebp
mov dword [esp + 0x18], esi
je 0x462a95
mov word [esi + 0x2002], bp
push 0x1000
push esi
push ebx
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [esi], bp
je 0x462b1a
mov ebx, dword [esp + 0x28]
cmp word [ebx], bp
je 0x462996
push ebx
call fcn.00422077
mov edi, eax
push edi
call fcn.004b0cb0
add esp, 8
test eax, eax
jne 0x462aff
lea ecx, [esp + 0x18]
call fcn.00443880
lea ecx, [esp + 0x10]
call fcn.00443880
lea ecx, [esp + 0x14]
call fcn.00443880
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x14]
push eax
push edi
call fcn.004a2600
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp eax, ebp
jne 0x462b4f
lea ecx, [esp + 0x18]
call fcn.00443880
lea ecx, [esp + 0x10]
call fcn.00443880
lea ecx, [esp + 0x14]
call fcn.00443880
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov word [eax - 2], bp
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push esi
push ecx
push edx
call fcn.00419222
add esp, 0xc
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.00443880
lea ecx, [esp + 0x10]
call fcn.00443880
lea ecx, [esp + 0x14]
call fcn.00443880
mov ecx, dword [esp + 0x2c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8