Function at 0x4670d8
Capabilities:
Hide graphical window

Disassembly:
push ecx
cmp dword [esp + 0x1c], 0
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, 1
push edi
mov dword [esp + 0x10], ecx
jne 0x4676c3
mov eax, dword [esp + 0x1c]
cmp eax, 0x110
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
jne 0x467133
lea eax, [esp + 0x10]
push eax
push ebp
push edi
mov dword [esp + 0x1c], ecx
push 0x110
mov ecx, esi
call fcn.004593c0
mov dword [ebx], eax
cmp dword [esp + 0x10], 0
je 0x467211
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x18
cmp eax, 2
jne 0x46714d
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
push ecx
push ebp
push edi
push eax
mov ecx, esi
call fcn.00452d00
jmp 0x467119
cmp eax, 0x10
jne 0x467168
push edi
mov dword [esp + 0x14], ecx
push 2
mov ecx, esi
call fcn.0044e850
mov dword [ebx], 0
jmp 0x46711b
cmp eax, 0xf
jne 0x467182
lea edx, [esp + 0x10]
push edx
push ebp
push edi
mov dword [esp + 0x1c], ecx
push eax
mov ecx, esi
call fcn.004499a0
jmp 0x467119
cmp eax, 5
jne 0x4671a0
lea eax, [esp + 0x10]
push eax
push ebp
push edi
mov dword [esp + 0x1c], ecx
push 5
mov ecx, esi
call fcn.0044fbb0
jmp 0x467119
cmp eax, 0x4bc
jne 0x4671c2
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebx], 0
jmp 0x46711b
cmp eax, 0xbd8
jne 0x4671e1
lea edx, [esp + 0x10]
push edx
push ebp
push edi
mov dword [esp + 0x1c], ecx
push eax
mov ecx, esi
call fcn.004533c0
jmp 0x467119
cmp eax, 0x111
jne 0x46721a
lea edx, [edi - 0x3e8]
cmp dx, 0x14
ja 0x46721a
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], ecx
push ebp
mov ecx, edi
shr ecx, 0x10
push edi
push ecx
mov ecx, esi
call fcn.00453320
jmp 0x467119
mov eax, dword [esp + 0x1c]
mov ecx, 1
cmp eax, dword [0x4dfde0]
jne 0x46724b
lea edx, [esp + 0x10]
push edx
push ebp
push edi
mov dword [esp + 0x1c], ecx
push eax
mov ecx, esi
call fcn.004471c0
cmp dword [esp + 0x10], 0
mov dword [ebx], eax
jne 0x467126
mov eax, dword [esp + 0x1c]
mov ecx, 1
cmp eax, 0x4c1
jne 0x467283
lea eax, [esp + 0x10]
push eax
push ebp
push edi
mov dword [esp + 0x1c], ecx
push 0x4c1
mov ecx, esi
call fcn.00453580
cmp dword [esp + 0x10], 0
mov dword [ebx], eax
je 0x467663
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x18
cmp eax, 0x17f7
jne 0x4672b7
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
push ecx
push ebp
push edi
push eax
mov ecx, esi
call fcn.00445290
cmp dword [esp + 0x10], 0
mov dword [ebx], eax
je 0x467663
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x18
cmp eax, 0x17f8
jne 0x4672eb
lea edx, [esp + 0x10]
push edx
push ebp
push edi
mov dword [esp + 0x1c], ecx
push eax
mov ecx, esi
call fcn.004452a0
cmp dword [esp + 0x10], 0
mov dword [ebx], eax
je 0x467663
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x18
cmp eax, 0x17f9
jne 0x467323
lea eax, [esp + 0x10]
push eax
push ebp
push edi
mov dword [esp + 0x1c], ecx
push 0x17f9
mov ecx, esi
call fcn.0044e960
cmp dword [esp + 0x10], 0
mov dword [ebx], eax
je 0x467663
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x18
cmp eax, 0x24d1
jne 0x467357
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
push ecx
push ebp
push edi
push eax
mov ecx, esi
call fcn.004452c0
cmp dword [esp + 0x10], 0
mov dword [ebx], eax
je 0x467663
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x18
cmp eax, 0x2508
jne 0x46738b
lea edx, [esp + 0x10]
push edx
push ebp
push edi
mov dword [esp + 0x1c], ecx
push eax
mov ecx, esi
call fcn.0044eb70
cmp dword [esp + 0x10], 0
mov dword [ebx], eax
je 0x467663
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x18
cmp eax, 0x1f5a
jne 0x4673c3
lea eax, [esp + 0x10]
push eax
push ebp
push edi
mov dword [esp + 0x1c], ecx
push 0x1f5a
mov ecx, esi
call fcn.00448280
cmp dword [esp + 0x10], 0
mov dword [ebx], eax
je 0x467663
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x18
cmp eax, 0x4a
jne 0x4673f5
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
push ecx
push ebp
push edi
push eax
mov ecx, esi
call fcn.0044e9c0
cmp dword [esp + 0x10], 0
mov dword [ebx], eax
je 0x467663
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x18
cmp eax, 0x7cb
jne 0x467429
lea edx, [esp + 0x10]
push edx
push ebp
push edi
mov dword [esp + 0x1c], ecx
push eax
mov ecx, esi
call fcn.00459910
cmp dword [esp + 0x10], 0
mov dword [ebx], eax
je 0x467663
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x18
cmp eax, 0x111
jne 0x46752c
cmp di, 0x800e
jne 0x467471
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], ecx
push ebp
mov ecx, edi
shr ecx, 0x10
push 0x800e
push ecx
mov ecx, esi
call fcn.00445350
cmp dword [esp + 0x10], 0
mov dword [ebx], eax
je 0x467663
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x18
cmp di, 0x800b
jne 0x4674ae
lea edx, [esp + 0x10]
push edx
push ebp
mov eax, edi
push 0x800b
shr eax, 0x10
mov dword [esp + 0x1c], ecx
push eax
mov ecx, esi
call fcn.00453910
cmp dword [esp + 0x10], 0
mov dword [ebx], eax
je 0x467663
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x18
cmp di, 0x800c
jne 0x4674eb
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
push ecx
push ebp
mov edx, edi
push 0x800c
shr edx, 0x10
push edx
mov ecx, esi
call fcn.00453a10
cmp dword [esp + 0x10], 0
mov dword [ebx], eax
je 0x467663
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x18
cmp di, 0x8012
jne 0x467667
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], ecx
push ebp
mov ecx, edi
shr ecx, 0x10
push 0x8012
push ecx
mov ecx, esi
call fcn.00451270
cmp dword [esp + 0x10], 0
mov dword [ebx], eax
je 0x467663
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x18
cmp eax, 0x1580
jne 0x467560
lea edx, [esp + 0x10]
push edx
push ebp
push edi
mov dword [esp + 0x1c], ecx
push eax
mov ecx, esi
call fcn.0044eeb0
cmp dword [esp + 0x10], 0
mov dword [ebx], eax
je 0x467663
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x18
cmp eax, 0x155d
jne 0x467598
lea eax, [esp + 0x10]
push eax
push ebp
push edi
mov dword [esp + 0x1c], ecx
push 0x155d
mov ecx, esi
call fcn.00445400
cmp dword [esp + 0x10], 0
mov dword [ebx], eax
je 0x467663
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x18
cmp eax, 0x155c
jne 0x4675cc
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
push ecx
push ebp
push edi
push eax
mov ecx, esi
call fcn.00445410
cmp dword [esp + 0x10], 0
mov dword [ebx], eax
je 0x467663
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x18
cmp eax, 0x112
jne 0x46760a
mov edx, dword [esi + 0x18]
mov dword [edx + 0x20], ecx
mov ecx, ebp
shr ecx, 0x10
movsx ecx, cx
movsx eax, bp
push ecx
push eax
push edi
mov ecx, esi
call fcn.00451c20
mov dword [ebx], 0
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x20], 0
je 0x467663
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x18
cmp eax, 0x201
jne 0x46763e
lea eax, [esp + 0x10]
push eax
push ebp
push edi
mov dword [esp + 0x1c], ecx
push 0x201
mov ecx, esi
call fcn.004483c0
cmp dword [esp + 0x10], 0
mov dword [ebx], eax
je 0x467663
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x18
cmp eax, 0x24
jne 0x467667
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
push ecx
push ebp
push edi
push eax
mov ecx, esi
call fcn.00445450
cmp dword [esp + 0x10], 0
mov dword [ebx], eax
jne 0x467126
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0
push ebx
push ebp
push edi
push eax
push edx
lea ecx, [esi + 0x24]
call fcn.004669e0
test eax, eax
jne 0x467126
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push ebx
push ebp
push edi
push eax
push ecx
lea ecx, [esi + 0x344]
call fcn.00467040
test eax, eax
jne 0x467126
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ebx
push ebp
push edi
push edx
push eax
lea ecx, [esi + 0x14c]
call fcn.00465b70
test eax, eax
jne 0x467126
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0x18