Function at 0x45ff37
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x4c8b1c
call fcn.004c2540
sub esp, 0x30
push esi
push edi
xor edi, edi
cmp dword [0x4eba9c], edi
mov esi, ecx
jne 0x45ffae
cmp esi, edi
je 0x45ffae
push 0x81cd
lea eax, [ebp - 0x18]
call fcn.00409034
mov eax, dword [eax]
pop ecx
push 0x24
push dword [0x4eb3dc]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
mov eax, dword [ebp - 0x18]
setne byte [ebp - 0xd]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x45ff93
push eax
call fcn.004013aa
cmp byte [ebp - 0xd], 0
je 0x45ffa4
mov dword [0x4eb9f0], edi
jmp 0x4602cf
mov dword [0x4eba9c], 1
cmp dword [0x4ebaa0], edi
jne 0x45ffc1
cmp esi, edi
mov dword [ebp - 0x18], 1
jne 0x45ffc4
mov dword [ebp - 0x18], edi
push 0xb
push edi
lea eax, [ebx + 0x4f8]
push 0xffffffffffffffff
push eax
call fcn.0041480b
xor eax, eax
cmp dword [0x4ead8c], edi
jle 0x460003
cmp eax, dword [0x4ead8c]
jae 0x460257
mov ecx, dword [0x4ead88]
lea ecx, [ecx + eax*4]
mov ecx, dword [ecx]
or dword [ecx + 0x1c], 0xffffffff
inc eax
cmp eax, dword [0x4ead8c]
jl 0x45ffe5
lea ecx, [ebx + 0x248]
lea eax, [ebp - 0x14]
mov dword [0x4eb9f0], esi
call fcn.0046a9d6
neg esi
sbb esi, esi
and esi, 8
push esi
push 0x7f4c
mov dword [ebp - 4], edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x4eb9f0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
neg eax
sbb eax, eax
and eax, 4
push eax
push dword [ebx + 0x498]
call esi
mov eax, dword [0x4eb9f0]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push eax
lea edi, [ebx + 0x4bc]
push dword [edi]
call esi
cmp dword [0x4eb9f0], 0
je 0x460084
lea ecx, [ebx + 0x494]
neg ecx
sbb ecx, ecx
lea eax, [ebx + 0x498]
and ecx, eax
mov ecx, dword [ecx]
jmp 0x460092
lea eax, [ebx + 0x4b8]
neg eax
sbb eax, eax
and eax, edi
mov ecx, dword [eax]
lea edx, [ebx + 0x4f4]
neg edx
sbb edx, edx
lea eax, [ebx + 0x4f8]
and edx, eax
mov eax, dword [edx]
lea esi, [ebx + 0x430]
mov dword [esi], ecx
mov dword [esi + 4], eax
call fcn.0046bd34
cmp dword [0x4eb9f0], 0
je 0x4602a0
lea esi, [ebp - 0x2c]
lea edi, [ebx + 0x498]
call fcn.0046aae4
xor esi, esi
cmp dword [ebp - 0x2c], esi
jne 0x46028a
mov eax, dword [0x4e9150]
mov dword [ebp - 0x14], eax
push 0x81cc
push dword [0x4eaf68]
lea eax, [ebp - 0x14]
push eax
call fcn.004035cf
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
push 0x7c
push 7
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.0049b568
add esp, 0x10
cmp dword [ebp - 0x38], esi
jbe 0x460257
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
push 0xffff0002
push 1
push esi
push eax
mov eax, 0xffff0000
lea ecx, [ebp - 0x24]
mov edx, ebx
call fcn.004614e2
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ecx
push 2
push 0x1102
push dword [eax]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x18], esi
je 0x460244
push 1
push 0xf
push 0xf
push esi
call fcn.0049bf20
mov eax, dword [0x4ead8c]
add esp, 0x10
xor edi, edi
cmp eax, esi
mov dword [ebp - 0x1c], eax
jle 0x460208
cmp edi, dword [0x4ead8c]
jae 0x460257
mov eax, dword [0x4ead88]
lea eax, [eax + edi*4]
mov esi, dword [eax]
test esi, esi
mov dword [ebp - 0x20], esi
je 0x4601ae
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
test esi, esi
mov byte [ebp - 4], 3
je 0x4601eb
cmp dword [esi + 0x20], 0
jne 0x4601eb
lea eax, [ebp - 0x18]
mov ecx, esi
call fcn.00437ac6
mov byte [ebp - 4], 4
push dword [eax]
mov ecx, esi
call fcn.00454921
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x4601eb
push eax
call fcn.004013aa
push 1
push esi
call fcn.00453f91
test esi, esi
mov byte [ebp - 4], 2
je 0x460200
call fcn.00437aa5
inc edi
cmp edi, dword [ebp - 0x1c]
jl 0x460187
xor esi, esi
push 0x4eae78
lea edi, [ebp - 0x1c]
call fcn.0048d985
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x1c]
cmp edi, esi
je 0x460229
push esi
push ebx
mov ecx, edi
call fcn.004609be
cmp edi, esi
mov dword [0x4ebaa0], 1
mov byte [ebp - 4], 2
je 0x460244
mov esi, edi
call fcn.00437aa5
xor esi, esi
mov eax, dword [0x4ebaa4]
cmp dword [eax - 8], esi
je 0x460261
mov ecx, ebx
call fcn.0046153c
jmp 0x46026c
push 0x80070057
call fcn.004010ca
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
call fcn.0046ab6a
lea esi, [ebp - 0x3c]
call fcn.0045238b
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
cmp eax, dword [0x4e9154]
je 0x4602cf
push eax
call fcn.004013aa
jmp 0x4602cf
push esi
push 0x7fee
push 0x111
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4602cf
mov ecx, dword [0x4eb6e8]
test ecx, ecx
jl 0x4602b2
cmp ecx, dword [0x4ead8c]
jl 0x4602b4
xor ecx, ecx
mov edx, ebx
call fcn.0045fa6f
test eax, eax
je 0x4602cf
mov edi, ebx
call fcn.004603f2
mov ecx, dword [ebx + 0xf0]
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret