Function at 0x464960
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
lea eax, [edi - 1]
mov esi, ecx
cmp eax, 6
ja case.default.0x464974
jmp dword [eax*4 + 0x464d68]
push 3
lea ecx, [esi + 0xf0]
mov dword [esi + 0x548], 1
call fcn.00450f70
push 2
lea ecx, [esi + 0x198]
call fcn.00450f70
push 2
lea ecx, [esi + 0x144]
call fcn.00450f70
push 2
lea ecx, [esi + 0x1ec]
call fcn.00450f70
push 2
lea ecx, [esi + 0x240]
call fcn.00450f70
push 2
lea ecx, [esi + 0x294]
call fcn.00450f70
mov eax, dword [esi + 0x900]
test eax, eax
je 0x4649e9
mov eax, dword [eax + 0x30]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
jmp 0x464cdd
push 2
lea ecx, [esi + 0xf0]
mov dword [esi + 0x548], 2
call fcn.00450f70
push 2
lea ecx, [esi + 0x198]
call fcn.00450f70
push 3
lea ecx, [esi + 0x144]
call fcn.00450f70
push 2
lea ecx, [esi + 0x1ec]
call fcn.00450f70
push 2
lea ecx, [esi + 0x240]
call fcn.00450f70
mov eax, dword [esi + 0x900]
test eax, eax
je 0x464a51
mov ecx, dword [eax + 0x30]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
lea ecx, [esi + 0x294]
call fcn.00450f70
push 2
jmp 0x464cdd
push 2
lea ecx, [esi + 0xf0]
mov dword [esi + 0x548], 3
call fcn.00450f70
push 3
lea ecx, [esi + 0x198]
call fcn.00450f70
push 2
lea ecx, [esi + 0x144]
call fcn.00450f70
push 2
lea ecx, [esi + 0x1ec]
call fcn.00450f70
push 2
lea ecx, [esi + 0x240]
call fcn.00450f70
mov eax, dword [esi + 0x900]
test eax, eax
je 0x464ac6
mov ecx, dword [eax + 0x30]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
lea ecx, [esi + 0x294]
call fcn.00450f70
push 2
jmp 0x464cdd
push 2
lea ecx, [esi + 0xf0]
mov dword [esi + 0x548], 4
call fcn.00450f70
push 2
lea ecx, [esi + 0x198]
call fcn.00450f70
push 2
lea ecx, [esi + 0x144]
call fcn.00450f70
push 3
lea ecx, [esi + 0x1ec]
call fcn.00450f70
push 2
lea ecx, [esi + 0x240]
call fcn.00450f70
mov eax, dword [esi + 0x900]
test eax, eax
je 0x464b3b
mov ecx, dword [eax + 0x30]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
lea ecx, [esi + 0x294]
call fcn.00450f70
push 2
jmp 0x464cdd
push 2
lea ecx, [esi + 0xf0]
mov dword [esi + 0x548], 5
call fcn.00450f70
push 2
lea ecx, [esi + 0x198]
call fcn.00450f70
push 2
lea ecx, [esi + 0x144]
call fcn.00450f70
push 2
lea ecx, [esi + 0x1ec]
call fcn.00450f70
push 3
lea ecx, [esi + 0x240]
call fcn.00450f70
push 2
lea ecx, [esi + 0x294]
call fcn.00450f70
push 2
lea ecx, [esi + 0x2e8]
call fcn.00450f70
mov ecx, esi
call fcn.004754a0
cmp dword [esi + 0x900], 0
je case.default.0x464974
push str.safe
call fcn.0043f080
add esp, 4
test eax, eax
jne 0x464be4
mov ecx, dword [esi + 0x900]
call fcn.004994d0
mov ecx, dword [esi + 0x900]
mov edx, dword [ecx + 0x30]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x464974
push 2
lea ecx, [esi + 0xf0]
mov dword [esi + 0x548], 6
call fcn.00450f70
push 2
lea ecx, [esi + 0x198]
call fcn.00450f70
push 2
lea ecx, [esi + 0x144]
call fcn.00450f70
push 2
lea ecx, [esi + 0x1ec]
call fcn.00450f70
push 2
lea ecx, [esi + 0x240]
call fcn.00450f70
mov eax, dword [esi + 0x900]
test eax, eax
je 0x464c5c
mov eax, dword [eax + 0x30]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
lea ecx, [esi + 0x294]
call fcn.00450f70
push 2
jmp 0x464cdd
push 2
lea ecx, [esi + 0xf0]
mov dword [esi + 0x548], 7
call fcn.00450f70
push 2
lea ecx, [esi + 0x198]
call fcn.00450f70
push 2
lea ecx, [esi + 0x144]
call fcn.00450f70
push 2
lea ecx, [esi + 0x1ec]
call fcn.00450f70
push 2
lea ecx, [esi + 0x240]
call fcn.00450f70
mov eax, dword [esi + 0x900]
test eax, eax
je 0x464cce
mov ecx, dword [eax + 0x30]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
lea ecx, [esi + 0x294]
call fcn.00450f70
push 3
lea ecx, [esi + 0x2e8]
call fcn.00450f70
mov ecx, dword [esi + 0xec]
test ecx, ecx
jne 0x464d00
lea ecx, [esp + 0x14]
call fcn.00439d40
pop edi
pop esi
ret 0xc
push edi
push edi
call fcn.0044b560
push eax
mov ecx, esi
call fcn.00462890
cmp dword [esp + 0x10], 0
je 0x464d2f
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
push edx
call fcn.00439d20
mov ecx, dword [esi + 0xec]
push edi
call fcn.0044b590
mov eax, dword [esi + 0x548]
mov ecx, dword [esi + 0xec]
push 1
push eax
call fcn.0044bec0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x464d63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
ret 0xc