Function at 0x401240
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x40ad24]
sub esp, 0x80
mov ecx, dword [0x40ad20]
push ebx
mov ebx, dword [esp + 0x88]
push 0
push ebx
push 0
push 0
push eax
push ecx
push 0x80000000
push 0x80000000
push 0xc00000
push 0x40ad90
push 0x40ad2c
push 0
mov dword [0x40adf4], ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [0x40aaf0], eax
jne 0x40129a
pop ebx
add esp, 0x80
ret
push ebp
push esi
push edi
push 0x104
push 0x40aaf4
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, 0x408080
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x40aaf4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 8
mov edi, 0x40acf8
rep stosd dword es:[edi], eax
mov eax, dword [0x40aaf0]
mov dword [0x40ad04], 0x40806c
mov dword [0x40acf8], eax
mov dword [0x40ad08], 0x1005
mov dword [0x40ad0c], 0
mov dword [0x40ad10], 0x40aaf4
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ecx, dword [0x40ad24]
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [esp + 0x10]
push 0x80
push edx
push 0x68
push ebx
lea ebp, [ecx - 0x46]
call edi
mov eax, dword [0x40aaf0]
mov ecx, dword [0x40ad20]
push 0
push ebx
push 5
push eax
add ecx, 0xffffff4c
mov esi, dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x1e
push 0x3c
sar ecx, 1
push ebp
push ecx
lea edx, [esp + 0x30]
push 0x50000000
push edx
push 0x408064
push 0
call esi
lea eax, [esp + 0x10]
push 0x80
push eax
push 0x6a
push ebx
call edi
mov edx, dword [0x40ad20]
mov ecx, dword [0x40aaf0]
push 0
push ebx
add edx, 0xb4
push 6
push ecx
push 0x1e
sar edx, 1
push 0x3c
sub edx, 0x3c
push ebp
push edx
lea eax, [esp + 0x30]
push 0x50000000
push eax
push 0x408064
push 0
call esi
mov ecx, dword [0x40ad20]
mov edx, dword [0x40aaf0]
push 0
push ebx
push 2
lea edi, [ecx - 0x1e]
push edx
sub ebp, 0x22
push 0x1e
push edi
push ebp
push 0xa
push 0x50000000
push 0
push str.msctls_progress32
push 0
call esi
push 0x640000
push 0
push 0x401
push eax
mov dword [0x40ad18], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x40aaf0]
push 0
push ebx
add edi, 0xffffff9c
push 1
push eax
sar edi, 1
push 0x18
lea ecx, [ebp + 3]
push 0x64
add edi, 0xa
push ecx
push edi
push 0x50000001
push 0x40804c
push str.STATIC
push 0
call esi
mov edi, 0x40aaf4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov al, 0x5c
cmp byte [ecx + 0x40aaf3], al
je 0x401447
mov byte [ecx + 0x40aaf4], al
inc ecx
lea edx, [ecx + 0x40aaf4]
mov edi, 0x40abf8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [0x40ad20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
push 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x40aaf0]
add edx, 0xffffffab
push ecx
mov esi, dword [sym.imp.USER32.dll_CreateWindowExA]
sub ebp, 0x23
push 0x1e
push edx
push ebp
push 0xa
push 0x50800800
push 0x40aaf4
push str.EDIT
push 0
call esi
lea eax, [esp + 0x10]
push 0x80
push eax
push 0x69
push ebx
call dword [sym.imp.USER32.dll_LoadStringA]
mov ecx, dword [0x40aaf0]
mov edx, dword [0x40ad20]
push 0
push ebx
push 4
push ecx
push 0x1e
push 0x3c
add edx, 0xffffffba
push ebp
push edx
lea eax, [esp + 0x30]
push 0x50000000
push eax
push 0x408064
push 0
call esi
mov ecx, dword [esp + 0x98]
mov edx, dword [0x40aaf0]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x40aaf0]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x80
ret