Function at 0x5a42f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x5a42f9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5a4a47
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [esi + 0xe72], 0
mov byte [esi + 0xe3d], 1
mov edx, edi
mov eax, esi
call fcn.005a1cfc
mov edi, eax
mov byte [esi + 0xe24], 0
movzx eax, byte [esi + 0x2094]
cmp eax, 0x21
ja case.0x5a4353.0
movzx eax, byte [eax + 0x5a435a]
jmp dword [eax*4 + 0x5a437c]
cmp byte [esi + 0x33ac], 0
je case.0x5a4353.0
mov byte [esi + 0x33ac], 0
lea edx, [ebp - 0x1c]
mov eax, dword [esi + 0x2058]
call fcn.0045a630
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, edi
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x130]
xor edx, edx
mov eax, dword [esi + 0x2058]
call fcn.0045a550
xor edx, edx
mov eax, dword [esi + 0x2058]
mov ecx, dword [eax]
call dword [ecx + 0x68]
jmp case.0x5a4353.0
mov byte [esi + 0x33ac], 0
lea edx, [ebp - 8]
mov eax, dword [esi + 0x2064]
call fcn.00580348
cmp word [esi + 0x21b2], 0
je 0x5a4447
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
mov ecx, edi
mov edx, esi
mov eax, dword [esi + 0x21b4]
call dword [esi + 0x21b0]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, edi
mov eax, esi
call fcn.005d7174
xor edx, edx
mov eax, dword [esi + 0x2064]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor edx, edx
mov eax, dword [esi + 0x2064]
call fcn.0045a550
jmp case.0x5a4353.0
mov byte [esi + 0x33ac], 0
lea edx, [ebp - 8]
mov eax, dword [esi + 0x206c]
call fcn.005805f4
cmp word [esi + 0x21b2], 0
je 0x5a44ad
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
mov ecx, edi
mov edx, esi
mov eax, dword [esi + 0x21b4]
call dword [esi + 0x21b0]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, edi
mov eax, esi
call fcn.005d7174
xor edx, edx
mov eax, dword [esi + 0x206c]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor edx, edx
mov eax, dword [esi + 0x206c]
call fcn.0045a550
jmp case.0x5a4353.0
mov byte [esi + 0x33ac], 0
lea edx, [ebp - 8]
mov eax, dword [esi + 0x2070]
call fcn.00580348
cmp word [esi + 0x21b2], 0
je 0x5a4513
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
mov ecx, edi
mov edx, esi
mov eax, dword [esi + 0x21b4]
call dword [esi + 0x21b0]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, edi
mov eax, esi
call fcn.005d7174
xor edx, edx
mov eax, dword [esi + 0x2070]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor edx, edx
mov eax, dword [esi + 0x2070]
call fcn.0045a550
jmp case.0x5a4353.0
mov byte [esi + 0x33ac], 0
lea edx, [ebp - 8]
mov eax, dword [esi + 0x2068]
call fcn.00580348
cmp word [esi + 0x21b2], 0
je 0x5a4579
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
mov ecx, edi
mov edx, esi
mov eax, dword [esi + 0x21b4]
call dword [esi + 0x21b0]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, edi
mov eax, esi
call fcn.005d7174
xor edx, edx
mov eax, dword [esi + 0x2068]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor edx, edx
mov eax, dword [esi + 0x2068]
call fcn.0045a550
jmp case.0x5a4353.0
mov byte [esi + 0x33ac], 0
movzx eax, byte [esi + 0x2094]
dec al
je 0x5a45c8
sub al, 0x13
je 0x5a4605
dec al
je 0x5a45e2
dec al
je 0x5a4625
jmp 0x5a4643
mov eax, dword [esi + 0x205c]
call fcn.00562a24
push eax
mov ecx, dword [ebp - 0x10]
mov edx, edi
mov eax, esi
call fcn.005a8890
jmp 0x5a4643
lea edx, [ebp - 0x20]
mov eax, dword [esi + 0x205c]
call fcn.0050b66c
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, edi
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x130]
jmp 0x5a4643
mov eax, dword [esi + 0x205c]
call fcn.00562b20
add esp, 0xfffffff8
fstp qword [esp]
wait
mov ecx, dword [ebp - 0x10]
mov edx, edi
mov eax, esi
call fcn.005a89f4
jmp 0x5a4643
mov eax, dword [esi + 0x205c]
call fcn.00562fd0
add esp, 0xfffffff8
fstp qword [esp]
wait
mov ecx, dword [ebp - 0x10]
mov edx, edi
mov eax, esi
call fcn.005a9348
xor edx, edx
mov eax, dword [esi + 0x205c]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor edx, edx
mov eax, dword [esi + 0x205c]
call fcn.0045a550
jmp case.0x5a4353.0
cmp byte [0x5e771c], 0
je case.0x5a4353.0
mov eax, dword [esi + 0x2080]
cmp byte [eax + 0x29a], 0
je 0x5a46d9
mov eax, dword [0x5e7ab0]
push dword [eax]
push 0x5a4a60
mov eax, dword [0x5e78a8]
push dword [eax]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004059c8
mov ebx, dword [ebp - 0x24]
mov eax, dword [esi + 0x2084]
call fcn.005824a4
fstp qword [ebp - 0x18]
wait
push dword [ebp - 0x14]
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov dword [ebp - 0x28], ebx
mov edx, dword [ebp - 0x28]
call fcn.0040ddac
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, edi
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x130]
jmp 0x5a46ea
push 0
mov ecx, dword [ebp - 0x10]
mov edx, edi
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x130]
mov byte [esi + 0x33ac], 0
xor edx, edx
mov eax, dword [esi + 0x2084]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor edx, edx
mov eax, dword [esi + 0x2084]
call fcn.0045a550
jmp case.0x5a4353.0
cmp byte [0x5e771c], 0
je case.0x5a4353.0
mov eax, dword [esi + 0x2080]
cmp byte [eax + 0x29a], 0
je 0x5a474f
lea edx, [ebp - 0x2c]
mov eax, dword [esi + 0x2080]
call fcn.0045a630
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, edi
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x130]
jmp 0x5a4760
push 0
mov ecx, dword [ebp - 0x10]
mov edx, edi
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x130]
mov byte [esi + 0x33ac], 0
xor edx, edx
mov eax, dword [esi + 0x2080]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor edx, edx
mov eax, dword [esi + 0x2080]
call fcn.0045a550
push 0
mov eax, dword [esi + 0x2080]
mov edx, dword [eax]
call dword [edx + 0xe0]
push eax
call sub.user32.dll_ShowWindow
jmp case.0x5a4353.0
cmp byte [0x5e771c], 0
je case.0x5a4353.0
lea eax, [ebp - 4]
mov edx, dword [0x5e7d08]
mov edx, dword [edx]
call fcn.004056cc
mov eax, dword [esi + 0x2080]
cmp dword [eax + 0x2d8], 0
je 0x5a47de
mov eax, dword [0x5e7d08]
mov edx, dword [esi + 0x2080]
mov edx, dword [edx + 0x2d8]
call fcn.00405688
lea edx, [ebp - 0x30]
mov eax, dword [esi + 0x2080]
call fcn.0045a630
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, edi
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x130]
mov eax, dword [0x5e7d08]
mov edx, dword [ebp - 4]
call fcn.00405688
xor edx, edx
mov eax, dword [esi + 0x2080]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor edx, edx
mov eax, dword [esi + 0x2080]
call fcn.0045a550
mov byte [esi + 0x33ac], 0
jmp case.0x5a4353.0
xor edx, edx
mov eax, dword [esi + 0x2074]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor edx, edx
mov eax, dword [esi + 0x2074]
call fcn.0045a550
mov byte [esi + 0x33ac], 0
jmp case.0x5a4353.0
cmp byte [esi + 0x33ac], 0
je case.0x5a4353.0
mov byte [esi + 0x33ac], 0
lea edx, [ebp - 0x34]
mov eax, dword [esi + 0x2078]
call fcn.0045a630
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, edi
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x130]
xor edx, edx
mov eax, dword [esi + 0x2078]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor edx, edx
mov eax, dword [esi + 0x2078]
call fcn.0045a550
jmp case.0x5a4353.0
lea edx, [ebp - 0x38]
mov eax, dword [esi + 0x207c]
call fcn.0045a630
lea eax, [ebp - 0x38]
mov edx, dword [esi + 0x207c]
mov edx, dword [edx + 0x290]
call fcn.00405900
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, edi
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x130]
xor edx, edx
mov eax, dword [esi + 0x207c]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor edx, edx
mov eax, dword [esi + 0x207c]
call fcn.0045a550
mov byte [esi + 0x33ac], 0
jmp case.0x5a4353.0
lea ecx, [ebp - 0x3c]
mov edx, dword [esi + 0xd98]
mov eax, esi
call fcn.005cf200
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, edi
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x130]
xor edx, edx
mov eax, dword [esi + 0xd98]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor edx, edx
mov eax, dword [esi + 0xd98]
call fcn.0045a550
mov byte [esi + 0x33ac], 0
jmp case.0x5a4353.0
xor edx, edx
mov eax, dword [esi + 0x2088]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor edx, edx
mov eax, dword [esi + 0x2088]
call fcn.0045a550
mov byte [esi + 0x33ac], 0
jmp case.0x5a4353.0
cmp dword [esi + 0x2048], 0
je case.0x5a4353.0
lea edx, [ebp - 0x40]
mov eax, dword [esi + 0x2048]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, edi
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x130]
mov eax, dword [esi + 0x2048]
cmp byte [eax + 0x3a], 1
je 0x5a49ad
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [esi + 0x2048]
test eax, eax
je 0x5a49bc
call fcn.005d3eb0
mov byte [esi + 0x33ac], 0
cmp byte [esi + 0x2094], 0
je 0x5a49e1
cmp byte [esi + 0xe73], 0
je 0x5a49e1
mov ecx, dword [ebp - 0x10]
mov edx, edi
mov eax, esi
call fcn.005d11e4
mov byte [esi + 0xe3d], 0
mov byte [esi + 0xe73], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a4a4e
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00405658
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.00405658
lea eax, [ebp - 0x24]
call fcn.00405634
lea eax, [ebp - 0x20]
call fcn.00405634
lea eax, [ebp - 0x1c]
call fcn.00405634
lea eax, [ebp - 0xc]
call fcn.00405634
lea eax, [ebp - 8]
call fcn.00405e3c
lea eax, [ebp - 4]
call fcn.00405634
ret