Function at 0x5609d7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cae98
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x6dd9a4]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, 0xc8
cmp ecx, eax
jg 0x560ff4
je 0x560fb6
push 0x10
lea eax, [ecx - 0x64]
pop esi
cmp eax, esi
ja case.0x560a2d.100
jmp dword [eax*4 + 0x561197]
mov al, 1
jmp 0x56117d
cmp byte [ebx + 0x88], 0
jne case.0x560a2d.100
lea eax, [ebx + 0x70]
push eax
lea ecx, [esp + 0x24]
mov byte [ebx + 0x8b], 0
mov byte [ebx + 0x8a], 0
call fcn.00411378
xor eax, eax
mov dword [esp + 0xc8], eax
cmp dword [ebx + 0x68], eax
jne 0x560b24
push eax
push eax
lea edi, [ebx + 0x58]
push edi
lea esi, [esp + 0x8c]
call fcn.00413018
sub esp, 0x1c
mov byte [esp + 0xec], 1
mov eax, dword [eax]
mov ecx, esp
mov dword [esp + 0x54], esp
push ecx
mov ecx, eax
call fcn.005964e0
push edi
lea esi, [esp + 0x70]
call fcn.00413018
mov byte [esp + 0xec], 2
mov eax, dword [eax]
push dword [eax + 4]
lea eax, [esp + 0x80]
push eax
call fcn.0055f5e4
add esp, 0x2c
mov byte [esp + 0xc8], 3
mov ecx, dword [eax]
add eax, 4
mov dword [ebx + 0x68], ecx
push eax
lea ecx, [ebx + 0x6c]
call fcn.004113be
mov byte [esp + 0xc8], 2
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x560af7
call fcn.004113ee
mov byte [esp + 0xc8], 1
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x560b0c
call fcn.004113ee
mov byte [esp + 0xc8], 0
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x560b24
call fcn.004113ee
lea eax, [ebx + 0x58]
push eax
lea esi, [esp + 0x3c]
call fcn.00413018
mov byte [esp + 0xc8], 4
mov eax, dword [eax]
push dword [eax + 4]
mov ecx, dword [ebx + 0x68]
push ecx
call fcn.0043db68
mov byte [esp + 0xc8], 0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x560b5c
call fcn.004113ee
mov eax, dword [ebx + 0x68]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x68]
call fcn.0055ee8d
push dword [ebx + 0x68]
call fcn.0055fad7
or dword [esp + 0xc8], 0xffffffff
cmp byte [esp + 0x24], 0
je case.0x560a2d.107
mov ecx, dword [esp + 0x20]
call fcn.0040dc30
jmp case.0x560a2d.107
cmp byte [ebx + 0x88], 0
sete al
jmp 0x56117d
cmp byte [ebx + 0x88], 0
jne case.0x560a2d.100
mov eax, dword [ebx + 0x60]
lea esi, [esp + 0x68]
call fcn.0043d99c
push eax
lea esi, [esp + 0x7c]
mov dword [esp + 0xcc], 5
call fcn.00413018
cmp dword [eax], 0
mov ecx, dword [esp + 0x7c]
sete byte [esp + 0x17]
test ecx, ecx
je 0x560bed
call fcn.004113ee
or dword [esp + 0xc8], 0xffffffff
lea ecx, [esp + 0x6c]
call fcn.00411cd4
cmp byte [esp + 0x17], 0
jne case.0x560a2d.100
lea eax, [ebx + 0x70]
push eax
lea ecx, [esp + 0x1c]
call fcn.00411378
mov dword [esp + 0xc8], 6
cmp dword [ebx + 0x68], 0
jne 0x560c43
or dword [esp + 0xc8], 0xffffffff
cmp byte [esp + 0x1c], 0
je case.0x560a2d.100
mov ecx, dword [esp + 0x18]
jmp 0x561176
mov eax, dword [ebx + 0x60]
add eax, 0x718
push eax
lea ecx, [esp + 0x34]
call fcn.00411378
mov eax, dword [ebx + 0x60]
lea esi, [esp + 0x40]
call fcn.0043d99c
push eax
lea esi, [esp + 0x24]
call fcn.00413018
lea ecx, [esp + 0x44]
mov byte [esp + 0xc8], 8
call fcn.00411cd4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x560cb8
mov ecx, dword [ebx + 0x68]
mov edx, dword [eax + 4]
mov dword [ecx + 0x7c], edx
mov ecx, dword [ebx + 0x68]
mov edx, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov dword [ecx + 0xa0], edx
mov dword [ecx + 0xa4], esi
cmp byte [eax + 0x10], 0
je 0x560cb0
mov esi, dword [ebx + 0x68]
call fcn.0043d9cc
push dword [ebx + 0x68]
call fcn.0055fad7
mov byte [esp + 0xc8], 7
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x560ccd
call fcn.004113ee
mov byte [esp + 0xc8], 6
cmp byte [esp + 0x34], 0
je 0x560ce5
mov ecx, dword [esp + 0x30]
call fcn.0040dc30
or dword [esp + 0xc8], 0xffffffff
cmp byte [esp + 0x1c], 0
je case.0x560a2d.107
mov ecx, dword [esp + 0x18]
jmp 0x560b91
cmp byte [ebx + 0x88], 0
jne case.0x560a2d.100
mov eax, dword [ebx + 0x60]
test eax, eax
je case.0x560a2d.100
lea esi, [esp + 0x60]
call fcn.0043d9b4
push eax
lea esi, [esp + 0x54]
mov dword [esp + 0xcc], 9
call fcn.00413018
cmp dword [eax], 0
mov ecx, dword [esp + 0x54]
sete byte [esp + 0x17]
test ecx, ecx
je 0x560d4c
call fcn.004113ee
or dword [esp + 0xc8], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.00411cd4
cmp byte [esp + 0x17], 0
jne case.0x560a2d.100
lea eax, [ebx + 0x70]
push eax
lea ecx, [esp + 0x2c]
call fcn.00411378
mov dword [esp + 0xc8], 0xa
cmp dword [ebx + 0x68], 0
je 0x560ed4
mov eax, dword [ebx + 0x60]
add eax, 0x764
push eax
lea ecx, [esp + 0x1c]
call fcn.00411378
mov eax, dword [ebx + 0x60]
lea esi, [esp + 0x70]
call fcn.0043d9b4
push eax
lea esi, [esp + 0x24]
call fcn.00413018
lea ecx, [esp + 0x74]
mov byte [esp + 0xc8], 0xc
call fcn.00411cd4
mov edi, dword [esp + 0x20]
test edi, edi
je 0x560ea7
cmp dword [ebx + 0x68], 0
je 0x560ea7
lea eax, [edi + 0x4e4]
lea edx, [edi + 0x4c8]
push eax
lea ecx, [esp + 0x8c]
call fcn.00563186
sub esp, 0x18
mov byte [esp + 0xe4], 0xd
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.00411468
push dword [ebx + 0x68]
call fcn.0055f02c
push 0
push 1
lea ecx, [esp + 0x90]
mov byte [esp + 0xd0], 0xc
call fcn.00410446
mov eax, dword [ebx + 0x68]
mov ecx, dword [edi]
mov dword [eax + 0x80], ecx
mov eax, dword [ebx + 0x68]
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
mov dword [eax + 0x98], ecx
mov dword [eax + 0x9c], edx
mov esi, dword [ebx + 0x60]
call fcn.005aca84
dec eax
dec eax
je 0x560e75
dec eax
jne 0x560e9f
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov eax, dword [ebx + 0x68]
mov dword [eax + 0x88], ecx
mov dword [eax + 0x8c], edx
mov ecx, dword [edi + 8]
mov edi, dword [edi + 0xc]
jmp 0x560e90
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov eax, dword [ebx + 0x68]
mov dword [eax + 0x88], ecx
mov dword [eax + 0x8c], edx
mov ecx, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
mov eax, dword [ebx + 0x68]
mov dword [eax + 0x94], edi
mov dword [eax + 0x90], ecx
push dword [ebx + 0x68]
call fcn.0055fad7
mov byte [esp + 0xc8], 0xb
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x560ebc
call fcn.004113ee
mov byte [esp + 0xc8], 0xa
cmp byte [esp + 0x1c], 0
je 0x560ed4
mov ecx, dword [esp + 0x18]
call fcn.0040dc30
or dword [esp + 0xc8], 0xffffffff
cmp byte [esp + 0x2c], 0
je case.0x560a2d.107
mov ecx, dword [esp + 0x28]
jmp 0x560b91
lea eax, [ebx + 0x70]
push eax
lea ecx, [esp + 0x2c]
call fcn.00411378
mov dword [esp + 0xc8], 0xe
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x560f2f
push eax
call fcn.0055fad7
mov eax, dword [ebx + 0x68]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x560f2f
mov eax, dword [ebx + 0x68]
push 3
call fcn.0055ef10
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
jmp 0x560ed4
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x4c], esp
push 0x271c
push eax
call fcn.004b0977
sub esp, 0x14
mov dword [esp + 0x100], esi
mov eax, esp
mov dword [esp + 0x50], esp
push 0x2718
push eax
call fcn.004b0977
or dword [esp + 0x108], 0xffffffff
pop ecx
pop ecx
mov ecx, 0x6ed8e8
call fcn.004b03da
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
jmp case.0x560a2d.107
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x34], esp
push 0x271c
push eax
call fcn.004b0977
sub esp, 0x14
mov dword [esp + 0x100], 0x11
mov eax, esp
mov dword [esp + 0x68], esp
push 0x29f4
jmp 0x560f61
lea eax, [ebx + 0x70]
push eax
lea ecx, [esp + 0x2c]
call fcn.00411378
xor eax, eax
mov dword [esp + 0xc8], 0xf
cmp dword [ebx + 0x68], eax
je 0x560ed4
mov dword [ebx + 0x68], eax
mov ecx, dword [ebx + 0x6c]
cmp ecx, eax
mov dword [ebx + 0x6c], eax
je 0x560ed4
call fcn.004113ee
jmp 0x560ed4
cmp ecx, 0x157d
jne case.0x560a2d.100
lea eax, [ebx + 0x70]
push eax
lea ecx, [esp + 0x2c]
call fcn.00411378
mov dword [esp + 0xc8], 0x12
cmp dword [ebx + 0x68], 0
je 0x561163
push 0x1b0
call fcn.00511d1d
pop ecx
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0xc8], 0x13
je 0x561045
push eax
call fcn.00537ea2
jmp 0x561047
xor eax, eax
mov edi, eax
lea esi, [esp + 0x20]
mov byte [esp + 0xc8], 0x12
call fcn.00404009
sub esp, 0x1c
mov byte [esp + 0xe4], 0x14
mov eax, esp
mov dword [esp + 0x34], esp
push 0x27e2
push eax
call fcn.004b0977
mov esi, dword [esp + 0x44]
mov eax, dword [esi]
pop ecx
pop ecx
mov ecx, esi
call dword [eax + 8]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x34], esp
push 0x2787
push eax
call fcn.004b0977
mov eax, dword [esi]
pop ecx
pop ecx
mov ecx, esi
call dword [eax + 4]
mov ecx, ebx
lea eax, [esp + 0xa4]
call fcn.0043dc5b
sub esp, 0x20
mov edx, esp
mov dword [esp + 0x38], esp
sub esp, 0x18
push 6
pop ecx
mov edi, esp
mov esi, eax
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.0043dc89
sub esp, 0x1c
mov byte [esp + 0x104], 0x15
mov eax, esp
mov dword [esp + 0x6c], esp
push 0x27cf
push eax
call fcn.004b0977
mov esi, dword [esp + 0x64]
mov eax, dword [esi]
pop ecx
pop ecx
add eax, 0x10
mov ecx, esi
mov byte [esp + 0x104], 0x14
call dword [eax]
sub esp, 0x20
mov eax, esp
and dword [eax], 0
mov dword [esp + 0x38], esp
sub esp, 0x1c
mov byte [esp + 0x104], 0x16
mov eax, esp
mov dword [esp + 0x6c], esp
push 0x2782
push eax
call fcn.004b0977
mov eax, dword [esi]
pop ecx
pop ecx
add eax, 0x14
mov ecx, esi
mov byte [esp + 0x104], 0x14
call dword [eax]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
lea eax, [esp + 0x20]
push eax
lea edi, [ebx + 0x90]
call fcn.0041dd16
mov byte [esp + 0xc8], 0x12
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x561163
call fcn.004113ee
or dword [esp + 0xc8], 0xffffffff
cmp byte [esp + 0x2c], 0
je case.0x560a2d.100
mov ecx, dword [esp + 0x28]
call fcn.0040dc30
xor al, al
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4