Function at 0x479970
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov ebx, dword [sym.imp.USER32.dll_LoadCursorW]
and ebp, 0xffff
push esi
sub ebp, 0x8497
push edi
cmp ebp, 4
mov esi, ecx
mov dword [esp + 0x18], ebp
ja 0x479a2e
mov eax, dword [esi + 0x64dc]
lea edi, [esi + 0x64c4]
test eax, eax
je 0x4799ca
push 0x7f85
push 0
mov dword [edi + 0x18], 0
call ebx
mov ecx, edi
mov dword [edi + 0x28], eax
call fcn.00446870
mov ecx, edi
call fcn.0042dce0
mov ecx, dword [esi + 0x65c4]
lea edi, [esi + 0x65ac]
mov eax, 1
cmp ecx, eax
je 0x4799fc
push 0x7f84
push 0
mov dword [edi + 0x18], eax
call ebx
mov ecx, edi
mov dword [edi + 0x28], eax
call fcn.00446870
mov ecx, edi
call fcn.0042dce0
mov ecx, dword [esi + 0x6550]
lea edi, [esi + 0x6538]
mov eax, 1
cmp ecx, eax
je 0x479a2e
push 0x7f84
push 0
mov dword [edi + 0x18], eax
call ebx
mov ecx, edi
mov dword [edi + 0x28], eax
call fcn.00446870
mov ecx, edi
call fcn.0042dce0
test ebp, ebp
jne 0x479ad2
push 1
push 1
push 1
push 1
mov ecx, esi
call fcn.0046c880
mov eax, dword [esi + 0x650c]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [esi + 0x64c4]
or ebp, 0xffffffff
cmp eax, ebp
je 0x479a6d
xor ecx, ecx
push 5
test eax, eax
sete cl
mov edx, dword [edi + ecx*4]
push edx
call ebx
mov ecx, edi
mov dword [edi + 0x48], ebp
call fcn.0042dce0
mov eax, dword [esi + 0x6580]
lea edi, [esi + 0x6538]
cmp eax, ebp
je 0x479a96
xor ecx, ecx
push 5
test eax, eax
sete cl
mov edx, dword [edi + ecx*4]
push edx
call ebx
mov ecx, edi
mov dword [edi + 0x48], ebp
call fcn.0042dce0
mov eax, dword [esi + 0x65f4]
lea edi, [esi + 0x65ac]
cmp eax, ebp
je 0x479abf
xor ecx, ecx
push 5
test eax, eax
sete cl
mov edx, dword [edi + ecx*4]
push edx
call ebx
mov ecx, edi
mov dword [edi + 0x48], ebp
call fcn.0042dce0
mov ebp, dword [esp + 0x18]
jmp 0x479f80
cmp ebp, 1
jne 0x479b8a
push ebp
push ebp
push 0
push ebp
mov ecx, esi
call fcn.0046c880
mov eax, dword [esi + 0x650c]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [esi + 0x64c4]
cmp eax, 0xffffffff
je 0x479b0d
xor ecx, ecx
push 5
test eax, eax
sete cl
mov edx, dword [edi + ecx*4]
push edx
call ebx
mov ecx, edi
mov dword [edi + 0x48], 0xffffffff
call fcn.0042dce0
mov eax, dword [esi + 0x6538]
lea edi, [esi + 0x6538]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x479b39
mov ecx, dword [edi]
push 5
push ecx
call ebx
mov edx, dword [edi + 4]
push 0
push edx
call ebx
mov ecx, dword [edi + 0x20]
xor eax, eax
cmp ecx, eax
je 0x479b4d
mov dword [edi + 0x20], eax
mov ecx, edi
mov dword [edi + 0x48], eax
call fcn.0042dce0
mov eax, dword [esi + 0x65f4]
lea edi, [esi + 0x65ac]
cmp eax, 0xffffffff
je 0x479b77
xor ecx, ecx
push 5
test eax, eax
sete cl
mov edx, dword [edi + ecx*4]
push edx
call ebx
mov ecx, edi
mov dword [edi + 0x48], 0xffffffff
call fcn.0042dce0
jmp 0x479f80
cmp ebp, 2
jne 0x479c3f
push 0
push 1
push 1
push 1
mov ecx, esi
call fcn.0046c880
mov eax, dword [esi + 0x650c]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [esi + 0x64c4]
or ebp, 0xffffffff
cmp eax, ebp
je 0x479bca
xor ecx, ecx
push 5
test eax, eax
sete cl
mov edx, dword [edi + ecx*4]
push edx
call ebx
mov ecx, edi
mov dword [edi + 0x48], ebp
call fcn.0042dce0
mov eax, dword [esi + 0x6580]
lea edi, [esi + 0x6538]
cmp eax, ebp
je 0x479bf3
xor ecx, ecx
push 5
test eax, eax
sete cl
mov edx, dword [edi + ecx*4]
push edx
call ebx
mov ecx, edi
mov dword [edi + 0x48], ebp
call fcn.0042dce0
mov eax, dword [esi + 0x65ac]
lea edi, [esi + 0x65ac]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x479c1b
mov ecx, dword [edi]
push 5
push ecx
call ebx
mov edx, dword [edi + 4]
xor ebp, ebp
push ebp
push edx
call ebx
cmp dword [edi + 0x20], ebp
je 0x479c2c
mov dword [edi + 0x20], ebp
mov ecx, edi
mov dword [edi + 0x48], ebp
call fcn.0042dce0
mov ebp, dword [esp + 0x18]
jmp 0x479f80
cmp ebp, 3
jne 0x479ca9
push 0
push 0
push 1
push 1
mov ecx, esi
call fcn.0046c880
mov eax, dword [esi + 0x64c4]
lea edi, [esi + 0x64c4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x479c77
mov ecx, dword [edi]
push 5
push ecx
call ebx
mov edx, dword [edi + 4]
push 0
push edx
call ebx
mov ecx, dword [edi + 0x20]
xor eax, eax
cmp ecx, eax
je 0x479c8b
mov dword [edi + 0x20], eax
mov ecx, edi
mov dword [edi + 0x48], eax
call fcn.0042dce0
push 0xffffffffffffffff
lea ecx, [esi + 0x6538]
call fcn.00483f00
push 0xffffffffffffffff
jmp 0x479f75
cmp ebp, 4
jne 0x479cc4
push 0
push 1
push 0
push 1
mov ecx, esi
call fcn.0046c880
push 0xffffffffffffffff
jmp 0x479f5b
cmp ebp, 5
jne 0x479d4f
push 1
push 1
push 1
push 1
mov ecx, esi
call fcn.0046c880
mov eax, dword [esi + 0x64dc]
lea edi, [esi + 0x64c4]
mov ebp, 1
cmp eax, ebp
je 0x479d0e
push 0x7f84
push 0
mov dword [edi + 0x18], ebp
call ebx
mov ecx, edi
mov dword [edi + 0x28], eax
call fcn.00446870
mov ecx, edi
call fcn.0042dce0
lea ebx, [esi + 0x65ac]
push ebp
mov ecx, ebx
call fcn.00483cc0
lea ebp, [esi + 0x6538]
push 1
mov ecx, ebp
call fcn.00483cc0
push 0xffffffffffffffff
mov ecx, edi
call fcn.00483f00
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00483f00
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00483f00
mov ebp, dword [esp + 0x18]
jmp 0x479f80
cmp ebp, 6
jne 0x479db4
push 1
push 1
push 1
push 1
mov ecx, esi
call fcn.0046c880
lea edi, [esi + 0x64c4]
push 0
mov ecx, edi
call fcn.00483cc0
lea ebx, [esi + 0x65ac]
push 0
mov ecx, ebx
call fcn.00483cc0
lea ebp, [esi + 0x6538]
push 0
mov ecx, ebp
call fcn.00483cc0
push 0xffffffffffffffff
mov ecx, edi
call fcn.00483f00
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00483f00
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00483f00
mov ebp, dword [esp + 0x18]
jmp 0x479f80
cmp ebp, 7
jne 0x479e19
push 0
push 1
push 1
push 1
mov ecx, esi
call fcn.0046c880
lea edi, [esi + 0x64c4]
push 1
mov ecx, edi
call fcn.00483cc0
lea ebx, [esi + 0x65ac]
push 1
mov ecx, ebx
call fcn.00483cc0
lea ebp, [esi + 0x6538]
push 1
mov ecx, ebp
call fcn.00483cc0
push 0xffffffffffffffff
mov ecx, edi
call fcn.00483f00
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00483f00
push 0
mov ecx, ebx
call fcn.00483f00
mov ebp, dword [esp + 0x18]
jmp 0x479f80
cmp ebp, 8
jne 0x479e7e
push 0
push 1
push 1
push 1
mov ecx, esi
call fcn.0046c880
lea edi, [esi + 0x64c4]
push 0
mov ecx, edi
call fcn.00483cc0
lea ebx, [esi + 0x65ac]
push 0
mov ecx, ebx
call fcn.00483cc0
lea ebp, [esi + 0x6538]
push 0
mov ecx, ebp
call fcn.00483cc0
push 0xffffffffffffffff
mov ecx, edi
call fcn.00483f00
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00483f00
push 0
mov ecx, ebx
call fcn.00483f00
mov ebp, dword [esp + 0x18]
jmp 0x479f80
cmp ebp, 9
jne 0x479ee3
push 1
push 1
push 0
push 1
mov ecx, esi
call fcn.0046c880
lea edi, [esi + 0x64c4]
push 1
mov ecx, edi
call fcn.00483cc0
lea ebx, [esi + 0x6538]
push 1
mov ecx, ebx
call fcn.00483cc0
lea ebp, [esi + 0x65ac]
push 0
mov ecx, ebp
call fcn.00483cc0
push 0xffffffffffffffff
mov ecx, edi
call fcn.00483f00
push 0
mov ecx, ebx
call fcn.00483f00
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00483f00
mov ebp, dword [esp + 0x18]
jmp 0x479f80
cmp ebp, 0xa
jne 0x479f45
push 0
push 1
push 1
push 1
mov ecx, esi
call fcn.0046c880
lea edi, [esi + 0x64c4]
push 1
mov ecx, edi
call fcn.00483cc0
lea ebx, [esi + 0x6538]
push 0
mov ecx, ebx
call fcn.00483cc0
lea ebp, [esi + 0x65ac]
push 1
mov ecx, ebp
call fcn.00483cc0
push 0xffffffffffffffff
mov ecx, edi
call fcn.00483f00
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00483f00
push 0
mov ecx, ebp
call fcn.00483f00
mov ebp, dword [esp + 0x18]
jmp 0x479f80
cmp ebp, 0xb
jne 0x479f80
push 0
push 0
push 0
push 1
mov ecx, esi
call fcn.0046c880
push 0
lea ecx, [esi + 0x64c4]
call fcn.00483f00
push 0
lea ecx, [esi + 0x6538]
call fcn.00483f00
push 0
lea ecx, [esi + 0x65ac]
call fcn.00483f00
mov eax, dword [esp + 0x20]
mov dword [esi + 0x844], ebp
pop edi
pop esi
mov dword [eax], 1
pop ebp
xor eax, eax
pop ebx
ret 0x10