Function at 0x462abd
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x4ce3a7
call fcn.004c7e20
sub esp, 0x30
push esi
push edi
xor edi, edi
cmp dword [0x4f333c], edi
mov esi, ecx
jne 0x462b34
cmp esi, edi
je 0x462b34
push 0x81cd
lea eax, [ebp - 0x18]
call fcn.00408e92
mov eax, dword [eax]
pop ecx
push 0x24
push dword [0x4f2c74]
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 [0x4f0984]
je 0x462b19
push eax
call fcn.004013aa
cmp byte [ebp - 0xd], 0
je 0x462b2a
mov dword [0x4f3290], edi
jmp 0x462e55
mov dword [0x4f333c], 1
cmp dword [0x4f3340], edi
jne 0x462b47
cmp esi, edi
mov dword [ebp - 0x18], 1
jne 0x462b4a
mov dword [ebp - 0x18], edi
push 0xb
push edi
lea eax, [ebx + 0x504]
push 0xffffffffffffffff
push eax
call fcn.004146d6
xor eax, eax
cmp dword [0x4f2624], edi
jle 0x462b89
cmp eax, dword [0x4f2624]
jae 0x462ddd
mov ecx, dword [0x4f2620]
lea ecx, [ecx + eax*4]
mov ecx, dword [ecx]
or dword [ecx + 0x20], 0xffffffff
inc eax
cmp eax, dword [0x4f2624]
jl 0x462b6b
lea ecx, [ebx + 0x254]
lea eax, [ebp - 0x14]
mov dword [0x4f3290], esi
call fcn.0046d915
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 [0x4f3290]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
neg eax
sbb eax, eax
and eax, 4
push eax
push dword [ebx + 0x4a4]
call esi
mov eax, dword [0x4f3290]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push eax
lea edi, [ebx + 0x4c8]
push dword [edi]
call esi
cmp dword [0x4f3290], 0
je 0x462c0a
lea ecx, [ebx + 0x4a0]
neg ecx
sbb ecx, ecx
lea eax, [ebx + 0x4a4]
and ecx, eax
mov ecx, dword [ecx]
jmp 0x462c18
lea eax, [ebx + 0x4c4]
neg eax
sbb eax, eax
and eax, edi
mov ecx, dword [eax]
lea edx, [ebx + 0x500]
neg edx
sbb edx, edx
lea eax, [ebx + 0x504]
and edx, eax
mov eax, dword [edx]
lea esi, [ebx + 0x43c]
mov dword [esi], ecx
mov dword [esi + 4], eax
call fcn.0046ec5a
cmp dword [0x4f3290], 0
je 0x462e26
lea esi, [ebp - 0x2c]
lea edi, [ebx + 0x4a4]
call fcn.0046da29
xor esi, esi
cmp dword [ebp - 0x2c], esi
jne 0x462e10
mov eax, dword [0x4f0980]
mov dword [ebp - 0x14], eax
push 0x81cc
push dword [0x4f2800]
lea eax, [ebp - 0x14]
push eax
call fcn.00403692
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.0049e086
add esp, 0x10
cmp dword [ebp - 0x38], esi
jbe 0x462ddd
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.00464301
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 0x462dca
push 1
push 0xf
push 0xf
push esi
call fcn.0049ea03
mov eax, dword [0x4f2624]
add esp, 0x10
xor edi, edi
cmp eax, esi
mov dword [ebp - 0x1c], eax
jle 0x462d8e
cmp edi, dword [0x4f2624]
jae 0x462ddd
mov eax, dword [0x4f2620]
lea eax, [eax + edi*4]
mov esi, dword [eax]
test esi, esi
mov dword [ebp - 0x20], esi
je 0x462d34
lea eax, [esi + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
test esi, esi
mov byte [ebp - 4], 3
je 0x462d71
cmp dword [esi + 0x2c], 0
jne 0x462d71
lea eax, [ebp - 0x18]
mov ecx, esi
call fcn.004382aa
mov byte [ebp - 4], 4
push dword [eax]
mov ecx, esi
call fcn.004578f1
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x462d71
push eax
call fcn.004013aa
push 1
push esi
call fcn.00456f61
test esi, esi
mov byte [ebp - 4], 2
je 0x462d86
call fcn.00438274
inc edi
cmp edi, dword [ebp - 0x1c]
jl 0x462d0d
xor esi, esi
push 0x4f2710
lea edi, [ebp - 0x1c]
call fcn.00490554
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x1c]
cmp edi, esi
je 0x462daf
push esi
push ebx
mov ecx, edi
call fcn.00463544
cmp edi, esi
mov dword [0x4f3340], 1
mov byte [ebp - 4], 2
je 0x462dca
mov esi, edi
call fcn.00438274
xor esi, esi
mov eax, dword [0x4f3344]
cmp dword [eax - 8], esi
je 0x462de7
mov ecx, ebx
call fcn.0046435b
jmp 0x462df2
push 0x80070057
call fcn.004010ca
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
call fcn.0046daaf
lea esi, [ebp - 0x3c]
call fcn.004553c8
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
cmp eax, dword [0x4f0984]
je 0x462e55
push eax
call fcn.004013aa
jmp 0x462e55
push esi
push 0x7fee
push 0x111
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x462e55
mov ecx, dword [0x4f2f80]
test ecx, ecx
jl 0x462e38
cmp ecx, dword [0x4f2624]
jl 0x462e3a
xor ecx, ecx
mov edx, ebx
call fcn.004625ec
test eax, eax
je 0x462e55
mov edi, ebx
call fcn.00462f78
mov ecx, dword [ebx + 0xf0]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret