Function at 0x4a15a0
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 0x4a18aa
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
cmp eax, 1
jne 0x4a1632
mov eax, dword [esi + 0x17dc]
test eax, eax
je 0x4a15d2
push 0
push eax
call edi
jmp 0x4a15e6
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 0x4a15f7
push 0
push eax
call edi
jmp 0x4a160b
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 0x4a161c
push 0
push eax
call edi
jmp 0x4a165c
mov ecx, dword [esi + 0x698]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0x698], 6
jmp 0x4a165c
cmp eax, 2
jne 0x4a165c
mov eax, dword [esi + 0x2838]
test eax, eax
je 0x4a1648
push 0
push eax
call edi
jmp 0x4a165c
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 0x4a16ac
mov eax, dword [esi + 0x780]
test eax, eax
je 0x4a1674
push 5
push eax
call edi
jmp 0x4a1688
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.004a3540
jmp 0x4a179e
cmp eax, 1
jne 0x4a176c
mov eax, dword [esi + 0x17dc]
test eax, eax
je 0x4a16c6
push 5
push eax
call edi
jmp 0x4a16da
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 0x4a16eb
push 5
push eax
call edi
jmp 0x4a16ff
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 0x4a1710
push 5
push eax
call edi
jmp 0x4a1724
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 0x4a1735
push 5
push eax
call edi
jmp 0x4a1749
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.004a35a0
jmp 0x4a179e
cmp eax, 2
jne 0x4a18b1
lea ecx, [esi + 0x77c]
call fcn.0051c6c0
lea ecx, [esi + 0x2834]
call fcn.0051c6a0
lea ecx, [esi + 0x2808]
mov eax, esi
mov dword [esi + 0x3864], ecx
call fcn.004a37b0
mov eax, dword [ebp + 8]
mov dword [esi + 0x3878], eax
cmp eax, 2
jne 0x4a181a
mov eax, dword [esi + 0xb4]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
test eax, eax
je 0x4a17c3
push 0
push eax
call edi
jmp 0x4a17d7
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 0x4a17f6
push 0
push eax
call edi
push 0xffffffffffffffff
push esi
call fcn.004a23f0
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.004a23f0
pop edi
mov al, 1
pop ebx
pop ebp
ret 4
cmp eax, 1
jne 0x4a1839
mov eax, dword [esi + 0x38a8]
mov ecx, dword [esi + 0x38ac]
mov dword [esi + 0x3898], eax
mov dword [esi + 0x389c], ecx
jmp 0x4a1851
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.0051c380
sub ebx, dword [esi + 0x389c]
push 1
push edi
lea ecx, [esi + 0x35c]
push ebx
call fcn.0051c380
push esi
call fcn.004a2dd0
push 0xffffffffffffffff
push esi
call fcn.004a23f0
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