Function at 0x497d50
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 0x49805a
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
cmp eax, 1
jne 0x497de2
mov eax, dword [esi + 0x17dc]
test eax, eax
je 0x497d82
push 0
push eax
call edi
jmp 0x497d96
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 0x497da7
push 0
push eax
call edi
jmp 0x497dbb
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 0x497dcc
push 0
push eax
call edi
jmp 0x497e0c
mov ecx, dword [esi + 0x698]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0x698], 6
jmp 0x497e0c
cmp eax, 2
jne 0x497e0c
mov eax, dword [esi + 0x2838]
test eax, eax
je 0x497df8
push 0
push eax
call edi
jmp 0x497e0c
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 0x497e5c
mov eax, dword [esi + 0x780]
test eax, eax
je 0x497e24
push 5
push eax
call edi
jmp 0x497e38
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.00499cf0
jmp 0x497f4e
cmp eax, 1
jne 0x497f1c
mov eax, dword [esi + 0x17dc]
test eax, eax
je 0x497e76
push 5
push eax
call edi
jmp 0x497e8a
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 0x497e9b
push 5
push eax
call edi
jmp 0x497eaf
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 0x497ec0
push 5
push eax
call edi
jmp 0x497ed4
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 0x497ee5
push 5
push eax
call edi
jmp 0x497ef9
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.00499d50
jmp 0x497f4e
cmp eax, 2
jne 0x498061
lea ecx, [esi + 0x77c]
call fcn.005113b0
lea ecx, [esi + 0x2834]
call fcn.00511390
lea ecx, [esi + 0x2808]
mov eax, esi
mov dword [esi + 0x3864], ecx
call fcn.00499f60
mov eax, dword [ebp + 8]
mov dword [esi + 0x3878], eax
cmp eax, 2
jne 0x497fca
mov eax, dword [esi + 0xb4]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
test eax, eax
je 0x497f73
push 0
push eax
call edi
jmp 0x497f87
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 0x497fa6
push 0
push eax
call edi
push 0xffffffffffffffff
push esi
call fcn.00498ba0
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.00498ba0
pop edi
mov al, 1
pop ebx
pop ebp
ret 4
cmp eax, 1
jne 0x497fe9
mov eax, dword [esi + 0x38a8]
mov ecx, dword [esi + 0x38ac]
mov dword [esi + 0x3898], eax
mov dword [esi + 0x389c], ecx
jmp 0x498001
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.00511070
sub ebx, dword [esi + 0x389c]
push 1
push edi
lea ecx, [esi + 0x35c]
push ebx
call fcn.00511070
push esi
call fcn.00499580
push 0xffffffffffffffff
push esi
call fcn.00498ba0
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