Function at 0x4a1520
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 0x3878]
push ebx
xor bl, bl
cmp eax, dword [ebp + 8]
je 0x4a182a
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
cmp eax, 1
jne 0x4a15b2
mov eax, dword [esi + 0x17dc]
test eax, eax
je 0x4a1552
push 0
push eax
call edi
jmp 0x4a1566
mov eax, dword [esi + 0x17d8]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x17d8], 6
mov eax, dword [esi + 0x60c]
test eax, eax
je 0x4a1577
push 0
push eax
call edi
jmp 0x4a158b
mov edx, dword [esi + 0x608]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x608], 6
mov eax, dword [esi + 0x69c]
test eax, eax
je 0x4a159c
push 0
push eax
call edi
jmp 0x4a15dc
mov ecx, dword [esi + 0x698]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0x698], 6
jmp 0x4a15dc
cmp eax, 2
jne 0x4a15dc
mov eax, dword [esi + 0x2838]
test eax, eax
je 0x4a15c8
push 0
push eax
call edi
jmp 0x4a15dc
mov eax, dword [esi + 0x2834]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x2834], 6
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4a162c
mov eax, dword [esi + 0x780]
test eax, eax
je 0x4a15f4
push 5
push eax
call edi
jmp 0x4a1608
mov edx, dword [esi + 0x77c]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x77c], 6
mov eax, dword [esi + 0x3874]
mov edx, dword [esi + 0x3870]
lea ecx, [esi + 0x750]
mov dword [esi + 0x3864], ecx
mov ecx, esi
call fcn.004a34d0
jmp 0x4a171e
cmp eax, 1
jne 0x4a16ec
mov eax, dword [esi + 0x17dc]
test eax, eax
je 0x4a1646
push 5
push eax
call edi
jmp 0x4a165a
mov edx, dword [esi + 0x17d8]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x17d8], 6
mov eax, dword [esi + 0x780]
test eax, eax
je 0x4a166b
push 5
push eax
call edi
jmp 0x4a167f
mov ecx, dword [esi + 0x77c]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0x77c], 6
mov eax, dword [esi + 0x60c]
test eax, eax
je 0x4a1690
push 5
push eax
call edi
jmp 0x4a16a4
mov eax, dword [esi + 0x608]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x608], 6
mov eax, dword [esi + 0x69c]
test eax, eax
je 0x4a16b5
push 5
push eax
call edi
jmp 0x4a16c9
mov edx, dword [esi + 0x698]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x698], 6
mov edx, dword [esi + 0x3874]
mov eax, dword [esi + 0x3870]
push edx
lea ecx, [esi + 0x750]
push eax
mov eax, esi
mov dword [esi + 0x3864], ecx
call fcn.004a3530
jmp 0x4a171e
cmp eax, 2
jne 0x4a1831
lea ecx, [esi + 0x77c]
call fcn.0051c5f0
lea ecx, [esi + 0x2834]
call fcn.0051c5d0
lea ecx, [esi + 0x2808]
mov eax, esi
mov dword [esi + 0x3864], ecx
call fcn.004a3740
mov eax, dword [ebp + 8]
mov dword [esi + 0x3878], eax
cmp eax, 2
jne 0x4a179a
mov eax, dword [esi + 0xb4]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
test eax, eax
je 0x4a1743
push 0
push eax
call edi
jmp 0x4a1757
mov edx, dword [esi + 0xb0]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0xb0], 6
mov eax, dword [esi + 0x360]
test eax, eax
je 0x4a1776
push 0
push eax
call edi
push 0xffffffffffffffff
push esi
call fcn.004a2370
pop edi
mov al, 1
pop ebx
pop ebp
ret 4
mov ecx, dword [esi + 0x35c]
mov edx, dword [ecx + 4]
push 0xffffffffffffffff
push esi
mov dword [esi + edx + 0x35c], 6
call fcn.004a2370
pop edi
mov al, 1
pop ebx
pop ebp
ret 4
cmp eax, 1
jne 0x4a17b9
mov eax, dword [esi + 0x38a8]
mov ecx, dword [esi + 0x38ac]
mov dword [esi + 0x3898], eax
mov dword [esi + 0x389c], ecx
jmp 0x4a17d1
mov edx, dword [esi + 0x38a0]
mov eax, dword [esi + 0x38a4]
mov dword [esi + 0x3898], edx
mov dword [esi + 0x389c], eax
mov eax, dword [esi + 0x3874]
sub eax, dword [esi + 0x3894]
mov ebx, dword [esi + 0x3870]
cdq
sub eax, edx
mov edx, dword [esi + 0x3898]
mov edi, eax
push 1
sar edi, 1
push edi
lea ecx, [esi + 0xb0]
push edx
call fcn.0051c2b0
sub ebx, dword [esi + 0x389c]
push 1
push edi
lea ecx, [esi + 0x35c]
push ebx
call fcn.0051c2b0
push esi
call fcn.004a2d50
push 0xffffffffffffffff
push esi
call fcn.004a2370
pop edi
mov al, 1
pop ebx
pop ebp
ret 4
mov al, 1
pop ebx
pop ebp
ret 4
pop edi
mov al, bl
pop ebx
pop ebp
ret 4