Function at 0x4158c0
Capabilities:
Create directory
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
push edi
lea edi, [ebp - 0x60]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
cmp dword [ebp + 0xc], 0
je 0x4158e4
xor eax, eax
jmp 0x415b18
mov dword [ebp - 0x58], 0x30
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x50], 0x415b70
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov esi, esp
push 0x65
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.user32.dll_LoadIconA]
cmp esi, esp
call fcn.0042c490
mov dword [ebp - 0x40], eax
mov esi, esp
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
cmp esi, esp
call fcn.0042c490
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 5
mov dword [ebp - 0x34], 0
mov edx, dword [0x457e58]
mov dword [ebp - 0x30], edx
mov esi, esp
push 0x66
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.user32.dll_LoadIconA]
cmp esi, esp
call fcn.0042c490
mov dword [ebp - 0x2c], eax
mov esi, esp
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.user32.dll_RegisterClassExA]
cmp esi, esp
call fcn.0042c490
movzx edx, ax
test edx, edx
jne 0x41598e
push 1
call fcn.0042e2f0
mov esi, esp
mov eax, dword [0x457e5c]
push eax
mov ecx, dword [0x457e58]
push ecx
call dword [sym.imp.user32.dll_FindWindowA]
cmp esi, esp
call fcn.0042c490
test eax, eax
je 0x4159d1
mov edx, dword [0x457e5c]
push edx
push str._s_Already_Started_____
push 0x14
call fcn.0040e570
push eax
call fcn.0041ff60
add esp, 0x10
xor eax, eax
jmp 0x415b18
mov esi, esp
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
push 0x190
push 0x2bc
push 0x64
push 0x64
push 0xcf0000
mov ecx, dword [0x457e5c]
push ecx
mov edx, dword [0x457e58]
push edx
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
cmp esi, esp
call fcn.0042c490
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [0x459238], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x60]
push edx
call fcn.00415e90
add esp, 8
mov esi, esp
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.user32.dll_ShowWindow]
cmp esi, esp
call fcn.0042c490
mov esi, esp
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.user32.dll_UpdateWindow]
cmp esi, esp
call fcn.0042c490
mov esi, esp
push 0
push 0x44bbcc
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
cmp esi, esp
call fcn.0042c490
call fcn.004154e0
movzx eax, al
test eax, eax
jne 0x415a7b
xor eax, eax
jmp 0x415b18
push 0x1c
push 0
lea ecx, [ebp - 0x20]
push ecx
call fcn.0042cf20
add esp, 0xc
cmp dword [ebp - 0x1c], 0x12
je 0x415b06
mov esi, esp
push 1
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.user32.dll_PeekMessageA]
cmp esi, esp
call fcn.0042c490
test eax, eax
je 0x415ad8
mov esi, esp
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.user32.dll_TranslateMessage]
cmp esi, esp
call fcn.0042c490
mov esi, esp
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.user32.dll_DispatchMessageA]
cmp esi, esp
call fcn.0042c490
jmp 0x415b04
call fcn.00416570
mov ecx, eax
call fcn.0042b8f0
movzx edx, al
test edx, edx
je 0x415b04
mov esi, esp
push 0
push 0
push 0x10
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.user32.dll_SendMessageA]
cmp esi, esp
call fcn.0042c490
jmp 0x415a8b
call fcn.00416610
mov dword [0x45923c], 0
mov eax, dword [ebp - 0x18]
push edx
mov ecx, ebp
push eax
lea edx, [0x415b3b]
call fcn.0042c4c0
pop eax
pop edx
pop edi
pop esi
add esp, 0x60
cmp ebp, esp
call fcn.0042c490
mov esp, ebp
pop ebp
ret 0x10