Function at 0x4790a0
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 0x47915e
mov eax, dword [esi + 0x64dc]
lea edi, [esi + 0x64c4]
test eax, eax
je 0x4790fa
push 0x7f85
push 0
mov dword [edi + 0x18], 0
call ebx
mov ecx, edi
mov dword [edi + 0x28], eax
call fcn.00446750
mov ecx, edi
call fcn.0042dc40
mov ecx, dword [esi + 0x65c4]
lea edi, [esi + 0x65ac]
mov eax, 1
cmp ecx, eax
je 0x47912c
push 0x7f84
push 0
mov dword [edi + 0x18], eax
call ebx
mov ecx, edi
mov dword [edi + 0x28], eax
call fcn.00446750
mov ecx, edi
call fcn.0042dc40
mov ecx, dword [esi + 0x6550]
lea edi, [esi + 0x6538]
mov eax, 1
cmp ecx, eax
je 0x47915e
push 0x7f84
push 0
mov dword [edi + 0x18], eax
call ebx
mov ecx, edi
mov dword [edi + 0x28], eax
call fcn.00446750
mov ecx, edi
call fcn.0042dc40
test ebp, ebp
jne 0x479202
push 1
push 1
push 1
push 1
mov ecx, esi
call fcn.0046bfa0
mov eax, dword [esi + 0x650c]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [esi + 0x64c4]
or ebp, 0xffffffff
cmp eax, ebp
je 0x47919d
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.0042dc40
mov eax, dword [esi + 0x6580]
lea edi, [esi + 0x6538]
cmp eax, ebp
je 0x4791c6
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.0042dc40
mov eax, dword [esi + 0x65f4]
lea edi, [esi + 0x65ac]
cmp eax, ebp
je 0x4791ef
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.0042dc40
mov ebp, dword [esp + 0x18]
jmp 0x4796b0
cmp ebp, 1
jne 0x4792ba
push ebp
push ebp
push 0
push ebp
mov ecx, esi
call fcn.0046bfa0
mov eax, dword [esi + 0x650c]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [esi + 0x64c4]
cmp eax, 0xffffffff
je 0x47923d
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.0042dc40
mov eax, dword [esi + 0x6538]
lea edi, [esi + 0x6538]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x479269
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 0x47927d
mov dword [edi + 0x20], eax
mov ecx, edi
mov dword [edi + 0x48], eax
call fcn.0042dc40
mov eax, dword [esi + 0x65f4]
lea edi, [esi + 0x65ac]
cmp eax, 0xffffffff
je 0x4792a7
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.0042dc40
jmp 0x4796b0
cmp ebp, 2
jne 0x47936f
push 0
push 1
push 1
push 1
mov ecx, esi
call fcn.0046bfa0
mov eax, dword [esi + 0x650c]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [esi + 0x64c4]
or ebp, 0xffffffff
cmp eax, ebp
je 0x4792fa
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.0042dc40
mov eax, dword [esi + 0x6580]
lea edi, [esi + 0x6538]
cmp eax, ebp
je 0x479323
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.0042dc40
mov eax, dword [esi + 0x65ac]
lea edi, [esi + 0x65ac]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x47934b
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 0x47935c
mov dword [edi + 0x20], ebp
mov ecx, edi
mov dword [edi + 0x48], ebp
call fcn.0042dc40
mov ebp, dword [esp + 0x18]
jmp 0x4796b0
cmp ebp, 3
jne 0x4793d9
push 0
push 0
push 1
push 1
mov ecx, esi
call fcn.0046bfa0
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 0x4793a7
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 0x4793bb
mov dword [edi + 0x20], eax
mov ecx, edi
mov dword [edi + 0x48], eax
call fcn.0042dc40
push 0xffffffffffffffff
lea ecx, [esi + 0x6538]
call fcn.00483640
push 0xffffffffffffffff
jmp 0x4796a5
cmp ebp, 4
jne 0x4793f4
push 0
push 1
push 0
push 1
mov ecx, esi
call fcn.0046bfa0
push 0xffffffffffffffff
jmp 0x47968b
cmp ebp, 5
jne 0x47947f
push 1
push 1
push 1
push 1
mov ecx, esi
call fcn.0046bfa0
mov eax, dword [esi + 0x64dc]
lea edi, [esi + 0x64c4]
mov ebp, 1
cmp eax, ebp
je 0x47943e
push 0x7f84
push 0
mov dword [edi + 0x18], ebp
call ebx
mov ecx, edi
mov dword [edi + 0x28], eax
call fcn.00446750
mov ecx, edi
call fcn.0042dc40
lea ebx, [esi + 0x65ac]
push ebp
mov ecx, ebx
call fcn.00483400
lea ebp, [esi + 0x6538]
push 1
mov ecx, ebp
call fcn.00483400
push 0xffffffffffffffff
mov ecx, edi
call fcn.00483640
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00483640
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00483640
mov ebp, dword [esp + 0x18]
jmp 0x4796b0
cmp ebp, 6
jne 0x4794e4
push 1
push 1
push 1
push 1
mov ecx, esi
call fcn.0046bfa0
lea edi, [esi + 0x64c4]
push 0
mov ecx, edi
call fcn.00483400
lea ebx, [esi + 0x65ac]
push 0
mov ecx, ebx
call fcn.00483400
lea ebp, [esi + 0x6538]
push 0
mov ecx, ebp
call fcn.00483400
push 0xffffffffffffffff
mov ecx, edi
call fcn.00483640
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00483640
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00483640
mov ebp, dword [esp + 0x18]
jmp 0x4796b0
cmp ebp, 7
jne 0x479549
push 0
push 1
push 1
push 1
mov ecx, esi
call fcn.0046bfa0
lea edi, [esi + 0x64c4]
push 1
mov ecx, edi
call fcn.00483400
lea ebx, [esi + 0x65ac]
push 1
mov ecx, ebx
call fcn.00483400
lea ebp, [esi + 0x6538]
push 1
mov ecx, ebp
call fcn.00483400
push 0xffffffffffffffff
mov ecx, edi
call fcn.00483640
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00483640
push 0
mov ecx, ebx
call fcn.00483640
mov ebp, dword [esp + 0x18]
jmp 0x4796b0
cmp ebp, 8
jne 0x4795ae
push 0
push 1
push 1
push 1
mov ecx, esi
call fcn.0046bfa0
lea edi, [esi + 0x64c4]
push 0
mov ecx, edi
call fcn.00483400
lea ebx, [esi + 0x65ac]
push 0
mov ecx, ebx
call fcn.00483400
lea ebp, [esi + 0x6538]
push 0
mov ecx, ebp
call fcn.00483400
push 0xffffffffffffffff
mov ecx, edi
call fcn.00483640
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00483640
push 0
mov ecx, ebx
call fcn.00483640
mov ebp, dword [esp + 0x18]
jmp 0x4796b0
cmp ebp, 9
jne 0x479613
push 1
push 1
push 0
push 1
mov ecx, esi
call fcn.0046bfa0
lea edi, [esi + 0x64c4]
push 1
mov ecx, edi
call fcn.00483400
lea ebx, [esi + 0x6538]
push 1
mov ecx, ebx
call fcn.00483400
lea ebp, [esi + 0x65ac]
push 0
mov ecx, ebp
call fcn.00483400
push 0xffffffffffffffff
mov ecx, edi
call fcn.00483640
push 0
mov ecx, ebx
call fcn.00483640
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00483640
mov ebp, dword [esp + 0x18]
jmp 0x4796b0
cmp ebp, 0xa
jne 0x479675
push 0
push 1
push 1
push 1
mov ecx, esi
call fcn.0046bfa0
lea edi, [esi + 0x64c4]
push 1
mov ecx, edi
call fcn.00483400
lea ebx, [esi + 0x6538]
push 0
mov ecx, ebx
call fcn.00483400
lea ebp, [esi + 0x65ac]
push 1
mov ecx, ebp
call fcn.00483400
push 0xffffffffffffffff
mov ecx, edi
call fcn.00483640
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00483640
push 0
mov ecx, ebp
call fcn.00483640
mov ebp, dword [esp + 0x18]
jmp 0x4796b0
cmp ebp, 0xb
jne 0x4796b0
push 0
push 0
push 0
push 1
mov ecx, esi
call fcn.0046bfa0
push 0
lea ecx, [esi + 0x64c4]
call fcn.00483640
push 0
lea ecx, [esi + 0x6538]
call fcn.00483640
push 0
lea ecx, [esi + 0x65ac]
call fcn.00483640
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