Function at 0x4046ad
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [0x9e20c6], 0
jne 0x4048bb
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 1
push 0x2be
push 1
push 0x3fc
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
push 0x9e20aa
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
call fcn.00404020
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x404745
push ebx
call fcn.0053b7cb
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [0x9e20ca], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 0x10
push 2
mov ebx, 0xc8
call fcn.0053c180
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0x10
call fcn.0053b7c5
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
push 0
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 1
push dword [ebp - 4]
push 1
push 0xffffff
push 1
mov eax, 0x7f5840
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [0x9e20ca]
push 0x9e20ce
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404853
push ebx
call fcn.0053b7cb
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0053b7cb
add esp, 4
push 1
push 0x466407
push 0x9e20ce
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x64]
call fcn.004049af
push 0x9e20aa
call fcn.00457f90
push 1
mov eax, 0x7f7454
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0x9e20d2
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x78]
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4048b1
push ebx
call fcn.0053b7cb
add esp, 4
call fcn.00457fe9
jmp 0x4049ab
push 1
push 0
push 0x9e20d6
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
push 1
mov eax, 0x7f745d
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0x9e20d6
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa8]
mov ebx, eax
test ebx, ebx
je 0x404900
push ebx
call fcn.0053b7cb
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404910
push ebx
call fcn.0053b7cb
add esp, 4
call fcn.00465896
mov eax, 0x7f7463
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00409757
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404936
push ebx
call fcn.0053b7cb
add esp, 4
mov eax, 0x7f7463
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0046608a
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404957
push ebx
call fcn.0053b7cb
add esp, 4
mov dword [ebp - 4], esp
push 0
push dword [0x9e20b6]
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x404981
push 6
call fcn.0053b7dd
add esp, 4
mov dword [ebp - 4], esp
push 1
push dword [0x9e20ca]
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x4049ab
push 6
call fcn.0053b7dd
add esp, 4
mov esp, ebp
pop ebp
ret