Function at 0x59a318
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe74
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x28], 0x6df0ec
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x20], 0
mov dword [ebp - 0x14], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x30], ecx
lea eax, [ebp - 0x30]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x18]
cmp eax, ecx
je 0x59a5b7
mov edi, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
add edi, 0xffffffd0
test eax, eax
mov dword [ebp - 4], eax
je 0x59a562
mov word [ebp - 0x20], 0x14
xor edx, edx
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x38]
mov dword [ecx + 8], eax
mov edx, dword [edi + 8]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
jle 0x59a3e4
mov eax, dword [edi + 8]
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x104], ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
add edx, 0xfffffff4
mov dword [ebp - 0x44], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0x44]
cmp ecx, eax
je 0x59a451
mov edx, dword [ebp - 0x44]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x59a451
mov ecx, dword [edi + 8]
mov eax, dword [ecx - 4]
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0x48]
push ecx
mov eax, dword [ebp - 4]
push eax
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
add edx, 0xc
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x4c]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0x54], edx
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x58], edx
mov ecx, dword [edi + 8]
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov dword [ebp - 0x60], edx
mov ecx, dword [ebp - 0x58]
push ecx
mov eax, dword [ebp - 0x5c]
push eax
mov edx, dword [ebp - 0x60]
push edx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
lea ecx, [edi + 0x10]
mov dword [ebp - 0x64], ecx
xor eax, eax
mov esi, dword [ebp - 4]
mov dword [ebp - 0x68], eax
add esi, 0x10
mov edx, dword [ebp - 0x68]
mov dword [esi + 8], edx
mov ecx, dword [ebp - 0x64]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
jle 0x59a4bb
mov ecx, dword [ebp - 0x64]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [esi + 8], edx
mov dword [ebp - 0x70], esi
mov ecx, dword [ebp - 0x70]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x124], eax
mov edx, dword [esi + 8]
add edx, 0xfffffff4
mov dword [ebp - 0x74], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0x74]
cmp ecx, eax
je 0x59a53a
mov edx, dword [ebp - 0x74]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x59a53a
mov ecx, dword [ebp - 0x64]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0x78], edx
mov ecx, dword [ebp - 0x78]
push ecx
mov eax, dword [ebp - 0x78]
push eax
push esi
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
add edx, 0xc
mov dword [ebp - 0x7c], edx
mov ecx, dword [ebp - 0x7c]
mov dword [esi + 8], ecx
mov dword [ebp - 0x84], esi
mov eax, dword [ebp - 0x84]
mov edx, dword [eax + 8]
mov dword [ebp - 0x134], edx
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x88], ecx
mov eax, dword [ebp - 0x64]
mov edx, dword [eax + 8]
mov dword [ebp - 0x8c], edx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x90], ecx
mov eax, dword [ebp - 0x88]
push eax
mov edx, dword [ebp - 0x8c]
push edx
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
mov eax, dword [edi + 0x20]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
mov ecx, dword [edi + 0x24]
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], ecx
mov edx, dword [edi + 0x28]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], edx
add dword [ebp - 0x14], 0xfffffffe
mov word [ebp - 0x20], 8
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
push edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
add eax, 0xffffffd0
push eax
push ebx
call fcn.0059a9f8
add esp, 0xc
mov esi, dword [ebp + 0x10]
push esi
push ebx
call fcn.0069a2e0
add esp, 8
lea eax, [esi + 0x10]
push eax
lea edx, [ebx + 0x10]
push edx
call fcn.0069a2e0
add esp, 8
mov ecx, dword [esi + 0x20]
mov dword [ebx + 0x20], ecx
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x24], eax
mov edx, dword [esi + 0x28]
mov dword [ebx + 0x28], edx
mov ecx, dword [ebp + 8]
add dword [ecx + 8], 0x30
jmp 0x59a9e7
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 8]
sub eax, ecx
mov ecx, 0x30
cdq
idiv ecx
mov ecx, eax
test ecx, ecx
je 0x59a5d7
add ecx, ecx
jmp 0x59a5dc
mov ecx, 0x15
mov dword [ebp - 0x9c], ecx
mov edi, dword [ebp - 0x9c]
mov eax, edi
shl eax, 4
lea eax, [eax + eax*2]
push eax
call fcn.0067ac68
pop ecx
mov esi, eax
test esi, esi
jne 0x59a63d
lea edx, [ebp - 0x30]
mov eax, 0x6b0470
push edx
push 0
push 0
push 0
push 1
push 0x40487c
push 0
mov edx, 0x6b045c
mov word [ebp - 0x20], 0x38
mov dword [ebp - 8], eax
lea ecx, [ebp - 8]
inc dword [ebp - 0x14]
mov dword [ebp - 8], edx
inc dword [ebp - 0x14]
push ecx
push 0x404824
call fcn.006aa5c5
add esp, 0x24
mov dword [ebp - 0xa0], esi
mov eax, dword [ebp - 0xa0]
push eax
push ebx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
push ecx
call fcn.0059aa50
add esp, 0xc
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ecx, 0x30
push dword [eax + 4]
pop edx
mov eax, ebx
sub eax, edx
cdq
idiv ecx
shl eax, 4
mov edx, dword [ebp - 0xa0]
lea eax, [eax + eax*2]
add eax, edx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x59a901
mov word [ebp - 0x20], 0x50
xor ecx, ecx
mov dword [ebp - 0xa4], ecx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xa4]
mov dword [eax + 8], edx
mov ecx, dword [edi + 8]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
jle 0x59a70e
mov edx, dword [edi + 8]
mov dword [ebp - 0xa8], edx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xa8]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0xac], edx
mov ecx, dword [ebp - 0xac]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x144], eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 8]
add ecx, 0xfffffff4
mov dword [ebp - 0xb0], ecx
mov eax, 0x6ff36c
mov edx, dword [ebp - 0xb0]
cmp eax, edx
je 0x59a7ab
mov ecx, dword [ebp - 0xb0]
push ecx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x59a7ab
mov eax, dword [edi + 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0xb4], edx
mov ecx, dword [ebp - 0xb4]
push ecx
mov eax, dword [ebp - 0xb4]
push eax
mov edx, dword [ebp - 0xc]
push edx
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
add ecx, 0xc
mov dword [ebp - 0xb8], ecx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xb8]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0xc0], ecx
mov eax, dword [ebp - 0xc0]
mov edx, dword [eax + 8]
mov dword [ebp - 0x154], edx
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xc4], ecx
mov eax, dword [edi + 8]
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 8]
mov dword [ebp - 0xcc], ecx
mov eax, dword [ebp - 0xc4]
push eax
mov edx, dword [ebp - 0xc8]
push edx
mov ecx, dword [ebp - 0xcc]
push ecx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
lea eax, [edi + 0x10]
mov dword [ebp - 0xd0], eax
xor eax, eax
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0xd4], eax
add esi, 0x10
mov edx, dword [ebp - 0xd4]
mov dword [esi + 8], edx
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
jle 0x59a83c
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ecx + 8]
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0xd8]
mov dword [esi + 8], edx
mov dword [ebp - 0xdc], esi
mov ecx, dword [ebp - 0xdc]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x164], eax
mov edx, dword [esi + 8]
add edx, 0xfffffff4
mov dword [ebp - 0xe0], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0xe0]
cmp ecx, eax
je 0x59a8d9
mov edx, dword [ebp - 0xe0]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x59a8d9
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0xe4], edx
mov ecx, dword [ebp - 0xe4]
push ecx
mov eax, dword [ebp - 0xe4]
push eax
push esi
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0xec], eax
mov edx, dword [ebp - 0xec]
add edx, 0xc
mov dword [ebp - 0xe8], edx
mov ecx, dword [ebp - 0xe8]
mov dword [esi + 8], ecx
mov dword [ebp - 0xf0], esi
mov eax, dword [ebp - 0xf0]
mov edx, dword [eax + 8]
mov dword [ebp - 0x174], edx
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xf4], ecx
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax + 8]
mov dword [ebp - 0xf8], edx
mov ecx, dword [esi + 8]
mov dword [ebp - 0xfc], ecx
mov eax, dword [ebp - 0xf4]
push eax
mov edx, dword [ebp - 0xf8]
push edx
mov ecx, dword [ebp - 0xfc]
push ecx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
mov eax, dword [edi + 0x20]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x20], eax
mov ecx, dword [edi + 0x24]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x24], ecx
mov edx, dword [edi + 0x28]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x28], edx
add dword [ebp - 0x14], 0xfffffffe
mov word [ebp - 0x20], 0x44
mov word [ebp - 0x20], 0x74
mov eax, dword [ebp + 8]
push dword [eax + 4]
mov eax, ebx
pop edx
sub eax, edx
mov ecx, 0x30
cdq
idiv ecx
shl eax, 4
lea eax, [eax + eax*2]
mov edx, dword [ebp - 0xa0]
add eax, edx
add eax, 0x30
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
push ebx
call fcn.0059aa50
mov word [ebp - 0x20], 0
add esp, 0xc
jmp 0x59a968
mov edx, dword [ebp + 8]
mov ebx, 0x30
mov esi, dword [edx + 8]
mov edx, dword [ebp + 8]
mov eax, esi
mov ecx, dword [edx + 4]
sub eax, ecx
push esi
cdq
idiv ebx
push ecx
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
call fcn.0049f954
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.0067ac7c
mov edx, dword [ebp - 0x9c]
pop ecx
shl edx, 4
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ebp + 8]
add eax, 0x10
lea edx, [edx + edx*2]
add edx, ecx
mov ecx, edx
mov edx, ebx
shl edx, 4
mov dword [eax + 8], ecx
mov dword [ebp - 0x184], ecx
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp + 8]
lea edx, [edx + edx*2]
add edx, eax
add edx, 0x30
mov dword [ecx + 8], edx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xa0]
mov dword [edx + 4], eax
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret