Function at 0x1005a8e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b8e3d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10248f44]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x2c]
push ebx
mov byte [ebp - 0x34], bl
call fcn.1005b520
mov dword [ebp - 4], 1
test edi, edi
je 0x1005affe
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
mov dword [ebp - 0x74], eax
cmp eax, 4
jbe 0x1005affe
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov esi, dword [eax]
lea eax, [esi + 4]
cmp eax, dword [ebp - 0x74]
jne 0x1005affe
test esi, esi
je 0x1005affe
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
add eax, 4
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], bl
mov byte [ebp - 4], 4
push esi
push eax
cmp esi, 0xf
ja 0x1005a99d
lea eax, [ebp - 0x64]
mov dword [ebp - 0x54], esi
push eax
call fcn.1018f9b0
add esp, 0xc
mov byte [ebp + esi - 0x64], bl
jmp 0x1005a9a9
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x64]
push esi
call fcn.100507b0
sub esp, 0x28
lea ecx, [ebp - 0x24]
mov eax, esp
lea edx, [ebp - 0x64]
push 0
push 1
mov dword [eax + 0x24], 0
call fcn.1005c180
mov cl, byte [ebp - 0x34]
add esp, 0x30
mov al, byte [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 0x24], cl
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x34], al
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], esi
call fcn.1005b060
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x1005aa2b
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005aa21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005b024
push edx
push ecx
call fcn.1018a765
add esp, 8
push 0x1022ec04
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
call fcn.1005bc10
test eax, eax
je 0x1005affe
push 0x1022ec04
lea ecx, [ebp - 0x34]
call fcn.1005be70
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.1005bfb0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.10086ad0
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x4c]
mov esi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x3c]
cmovae ecx, esi
push 5
push str.ready
setae byte [ebp - 0x65]
call fcn.10052fe0
add esp, 8
test eax, eax
jne 0x1005abe1
mov ecx, 0x1022de8b
call fcn.100901f0
mov esi, eax
test esi, esi
je 0x1005aab9
mov eax, dword [esi]
mov ecx, esi
push 0x1022ec10
call dword [eax + 0x1c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
call fcn.10070e10
mov ecx, eax
test ecx, ecx
je 0x1005aaf8
cmp byte [ecx + 0x106], 0
je 0x1005aaf8
mov eax, dword [ecx + 0x10c]
cmp eax, dword [ecx + 0x114]
jb 0x1005aaf8
ja 0x1005aaeb
mov eax, dword [ecx + 0x108]
cmp eax, dword [ecx + 0x110]
jbe 0x1005aaf8
call fcn.10073260
test al, al
je 0x1005b029
lea ecx, [ebp - 0x34]
call fcn.1005a700
call fcn.10080e00
mov esi, eax
test esi, esi
je 0x1005abd3
xorps xmm0, xmm0
lea ecx, [ebp - 0x34]
push str.taskId
movlpd qword [ebp - 0x1c], xmm0
call fcn.1005bc10
test eax, eax
je 0x1005ab43
push str.taskId
lea ecx, [ebp - 0x34]
call fcn.1005be70
mov ecx, eax
call fcn.1005ffc0
mov ebx, eax
mov dword [ebp - 0x70], edx
jmp 0x1005ab4c
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
push ecx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.1005c090
test eax, eax
je 0x1005ab8c
push 0x1022ebf8
lea ecx, [ebp - 0x34]
call fcn.1005be70
push eax
lea ecx, [ebp - 0x64]
call fcn.100600b0
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
push dword [ebp - 0x70]
push ebx
call fcn.10081310
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x1005abd3
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005abc9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005b030
push edx
push ecx
call fcn.1018a765
add esp, 8
mov ecx, edi
call fcn.1006eab0
mov ebx, eax
jmp 0x1005afc1
cmp byte [ebp - 0x65], 0
lea ecx, [ebp - 0x4c]
push 6
cmovne ecx, esi
push str.reload
call fcn.10052fe0
add esp, 8
test eax, eax
je 0x1005b035
cmp byte [ebp - 0x65], 0
lea ecx, [ebp - 0x4c]
push 4
cmovne ecx, esi
push str.play
call fcn.10052fe0
add esp, 8
test eax, eax
jne 0x1005aca4
mov ecx, 0x1022de8b
call fcn.100901f0
mov esi, eax
test esi, esi
je 0x1005ac46
mov edx, dword [esi]
mov ecx, esi
push 0x1022ec40
call dword [edx + 0x1c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
call fcn.10080e00
mov esi, eax
test esi, esi
je 0x1005afc1
xorps xmm0, xmm0
lea ecx, [ebp - 0x34]
push str.taskId
movlpd qword [ebp - 0x1c], xmm0
call fcn.1005bc10
test eax, eax
je 0x1005ac90
push str.taskId
lea ecx, [ebp - 0x34]
call fcn.1005be70
mov ecx, eax
call fcn.1005ffc0
push edx
push eax
mov ecx, esi
call fcn.10081490
jmp 0x1005afc1
mov edx, dword [ebp - 0x18]
mov ecx, esi
mov eax, dword [ebp - 0x1c]
push edx
push eax
call fcn.10081490
jmp 0x1005afc1
cmp byte [ebp - 0x65], 0
lea ecx, [ebp - 0x4c]
push 4
cmovne ecx, esi
push str.info
call fcn.10052fe0
add esp, 8
test eax, eax
jne 0x1005adee
mov ecx, 0x1022de8b
call fcn.100901f0
mov esi, eax
test esi, esi
je 0x1005ace8
mov edx, dword [esi]
mov ecx, esi
push 0x1022ec50
call dword [edx + 0x1c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov ecx, edi
call fcn.1006aef0
mov ebx, eax
call fcn.10080e00
mov edi, eax
mov dword [ebp - 0x74], edi
test edi, edi
je 0x1005afc1
xorps xmm0, xmm0
lea ecx, [ebp - 0x34]
push str.taskId
movlpd qword [ebp - 0x1c], xmm0
call fcn.1005bc10
test eax, eax
je 0x1005ad35
push str.taskId
lea ecx, [ebp - 0x34]
call fcn.1005be70
mov ecx, eax
call fcn.1005ffc0
mov dword [ebp - 0x78], edx
jmp 0x1005ad3e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x70], eax
test ebx, ebx
je 0x1005afc1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
xorps xmm0, xmm0
lea esi, [edi + 0xc]
movlpd qword [ebp - 0x1c], xmm0
push esi
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x18], 0
call fcn.1018d19b
add esp, 4
test eax, eax
jne 0x1005b04b
mov byte [ebp - 0x18], 1
mov byte [ebp - 4], 9
mov edi, dword [edi + 0x3c]
mov dword [ebp - 0x6c], edi
test edi, edi
jne 0x1005ad88
push esi
jmp 0x1005add6
lea esi, [edi + 8]
push esi
call fcn.1018d19b
add esp, 4
test eax, eax
jne 0x1005b051
mov eax, dword [ebp - 0x6c]
mov edi, dword [edi + 0x40]
push esi
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x6c], eax
call fcn.1018d1c0
add esp, 4
cmp edi, dword [ebp - 0x70]
jne 0x1005adcf
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x78]
jne 0x1005adcf
mov esi, dword [ebp - 0x74]
push ebx
mov ecx, dword [esi + 0x3c]
call fcn.10074e20
lea eax, [esi + 0xc]
jmp 0x1005add5
mov eax, dword [ebp - 0x74]
add eax, 0xc
push eax
mov byte [ebp - 4], 6
call fcn.1018d1c0
mov eax, dword [ebx]
add esp, 4
mov ecx, ebx
call dword [eax + 8]
jmp 0x1005afc1
cmp byte [ebp - 0x65], 0
lea ecx, [ebp - 0x4c]
push 6
cmovne ecx, esi
push str.cancel
call fcn.10052fe0
add esp, 8
test eax, eax
jne 0x1005ae85
mov ecx, 0x1022de8b
call fcn.100901f0
mov esi, eax
test esi, esi
je 0x1005ae2e
mov edx, dword [esi]
mov ecx, esi
push str.ipc_cancel_d_a
call dword [edx + 0x1c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
call fcn.10080e00
mov esi, eax
test esi, esi
je 0x1005ae77
xorps xmm0, xmm0
lea ecx, [ebp - 0x34]
push str.taskId
movlpd qword [ebp - 0x1c], xmm0
call fcn.1005bc10
test eax, eax
je 0x1005ae68
push str.taskId
lea ecx, [ebp - 0x34]
call fcn.1005be70
mov ecx, eax
call fcn.1005ffc0
jmp 0x1005ae6e
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push edx
push eax
mov ecx, esi
call fcn.100819b0
mov ecx, edi
call fcn.1006a480
mov ebx, eax
jmp 0x1005afc1
cmp byte [ebp - 0x65], 0
lea ecx, [ebp - 0x4c]
push 0xe
cmovne ecx, esi
push str.connectAppPort
call fcn.10052fe0
add esp, 8
test eax, eax
jne 0x1005aede
mov ecx, 0x1022de8b
call fcn.100901f0
mov esi, eax
test esi, esi
je 0x1005aec5
mov edx, dword [esi]
mov ecx, esi
push str.ipc_connect_reply_d_a
call dword [edx + 0x1c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
call fcn.10080e00
test eax, eax
je 0x1005afc1
mov ecx, eax
call fcn.10081f30
jmp 0x1005afc1
cmp byte [ebp - 0x65], 0
lea ecx, [ebp - 0x4c]
push 8
cmovne ecx, esi
push str.progress
call fcn.10052fe0
add esp, 8
test eax, eax
jne 0x1005af19
mov ecx, 0x1022de8b
call fcn.100901f0
mov esi, eax
test esi, esi
je 0x1005afc1
push str.ipc_progress_reply_d_a
jmp 0x1005afb3
cmp byte [ebp - 0x65], 0
lea ecx, [ebp - 0x4c]
push 5
cmovne ecx, esi
push str.error
call fcn.10052fe0
add esp, 8
test eax, eax
jne 0x1005af4d
mov ecx, 0x1022de8b
call fcn.100901f0
mov esi, eax
test esi, esi
je 0x1005afc1
push str.ipc_error_reply_d_a
jmp 0x1005afb3
cmp byte [ebp - 0x65], 0
lea ecx, [ebp - 0x4c]
push 5
cmovne ecx, esi
push str.heart
call fcn.10052fe0
add esp, 8
test eax, eax
jne 0x1005af81
mov ecx, 0x1022de8b
call fcn.100901f0
mov esi, eax
test esi, esi
je 0x1005afc1
push str.ipc_heart_reply_d_a
jmp 0x1005afb3
cmp byte [ebp - 0x65], 0
lea ecx, [ebp - 0x4c]
push 0xa
cmovne ecx, esi
push str.decryptKey
call fcn.10052fe0
add esp, 8
test eax, eax
jne 0x1005afc4
mov ecx, 0x1022de8b
call fcn.100901f0
mov esi, eax
test esi, esi
je 0x1005afc1
push str.ipc_find_reply_d_a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x1005affe
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1005afe9
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005b057
push ecx
push esi
call fcn.1018a765
add esp, 8
jmp 0x1005affe
lea ecx, [ebp - 0x34]
call fcn.1005b060
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1018a722
mov esp, ebp
pop ebp
ret
call fcn.1019291f
push 0
call fcn.1019c214
call fcn.1019291f
mov edx, 0x1022ec28
mov ecx, 0x1022de8b
call fcn.10090370
push 0
call fcn.1019c214
push eax
call fcn.1018ce33
push eax
call fcn.1018ce33
call fcn.1019291f
int3