Function at 0x401f9c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and byte [ebp - 1], 0
push ebx
mov ebx, ecx
push esi
push edi
lea esi, [ebx + 0x211c]
cmp byte [esi], 0
jne 0x40209e
call fcn.0040143d
test al, al
je 0x402052
lea edi, [ebx + 0x2018]
mov ecx, ebx
push edi
call fcn.00403225
push edi
push esi
mov dword [ebx + 0x2428], eax
call fcn.00460990
cmp byte [esi], 0
pop ecx
pop ecx
jne 0x402044
cmp byte [ebx + 0x2430], 0
je 0x402037
cmp dword [ebp + 0x10], 0
je 0x40202f
lea esi, [ebx + 0x26c8]
push esi
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 0x26d0]
sub eax, dword [esi]
cmp eax, 0x100
jge 0x402021
mov dword [ebx + 0x2434], 0x80
fld qword [ebx + 0x2448]
fstp qword [ebx + 0x2440]
jmp 0x40203e
fld qword [ebx + 0x2450]
jmp 0x402027
mov byte [ebx + 0x2ba], 1
mov byte [ebp - 1], 1
jmp 0x40209e
push 0x47b0b0
push esi
call fcn.00460990
pop ecx
jmp 0x40209d
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.0040170d
mov edi, dword [ebp - 0xc]
pop ecx
cmp eax, 1
pop ecx
mov dword [ebp - 8], eax
jle 0x402091
push dword [edi + 4]
push esi
call fcn.00460990
and dword [ebx + 0x2428], 0
pop ecx
jmp 0x402090
dec dword [ebp - 8]
mov eax, dword [ebp - 8]
push dword [edi + eax*4]
call fcn.00461382
pop ecx
cmp dword [ebp - 8], 0
jg 0x402082
push edi
call fcn.00461382
pop ecx
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x4020f0
mov esi, dword [ebp + 8]
push 0x65
push esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 0x401902
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], esi
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0x4752ac
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x402204
mov dword [ebx + 0x2458], esi
cmp dword [ebp + 0x10], edi
lea eax, [ebx + 0x26c8]
push eax
je 0x402107
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x402114
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea edi, [ebx + 0x26d8]
lea esi, [ebx + 0x26c8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x26cc]
mov edx, dword [ebx + 0x26d4]
movsd dword es:[edi], dword [esi]
push 0
sub edx, eax
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x10]
lea edi, [ebx + 0x26c8]
push 0
push esi
mov ecx, dword [edi]
push edx
mov edx, dword [ebx + 0x26d0]
sub edx, ecx
push edx
push eax
push ecx
mov eax, 0x4752ac
push 0x80000000
push eax
push eax
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebx + 0x26c0], eax
lea eax, [ebx + 0x218]
test esi, esi
jne 0x402186
cmp byte [eax], 0
je 0x40219c
and byte [eax], 0
push esi
call dword [sym.imp.USER32.dll_ShowCursor]
jmp 0x40219c
cmp byte [eax], 0
jne 0x402196
push 1
mov byte [eax], 1
call dword [sym.imp.USER32.dll_ShowCursor]
mov dword [ebx + 0x26c0], esi
mov eax, dword [ebx + 0x26c0]
test eax, eax
je 0x402204
mov esi, dword [sym.imp.USER32.dll_RegisterHotKey]
push 0x2c
push 0
push 0xfffffffffffffffe
push eax
call esi
push 0x2c
push 1
push 0xffffffffffffffff
push dword [ebx + 0x26c0]
call esi
push dword [ebx + 0x26c0]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 5
push dword [ebx + 0x26c0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
push edi
push dword [ebx + 0x26c0]
call esi
cmp byte [ebp - 1], 0
je 0x4021f9
mov ecx, ebx
call fcn.0040b83e
mov ecx, ebx
call fcn.004050e1
test eax, eax
jge 0x402209
or eax, 0xffffffff
jmp 0x40221d
push edi
push dword [ebx + 0x26c0]
call esi
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x26c4], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc