Function at 0x5805a4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd00
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x28], 0x6d9914
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 [ebp + 8]
mov ecx, dword [edx + 8]
mov edx, dword [eax + 0x18]
cmp ecx, edx
je 0x580b3a
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
add eax, 0xffffffb8
mov dword [ebp - 0x34], eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
test eax, eax
je 0x580acd
mov word [ebp - 0x20], 0x14
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov ecx, dword [edx]
mov dword [eax], ecx
xor eax, eax
mov edx, dword [ebp - 0x34]
add edx, 8
mov dword [ebp - 0x3c], edx
mov esi, dword [ebp - 4]
mov dword [ebp - 0x40], eax
add esi, 8
mov edx, dword [ebp - 0x40]
mov dword [esi + 8], edx
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
jle 0x580690
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [esi + 8], edx
mov dword [ebp - 0x48], esi
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1f8], eax
mov edx, dword [esi + 8]
add edx, 0xfffffff4
mov dword [ebp - 0x4c], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0x4c]
cmp ecx, eax
je 0x5806f7
mov edx, dword [ebp - 0x4c]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x5806f7
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp - 0x50]
push ecx
mov eax, dword [ebp - 0x50]
push eax
push esi
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
add edx, 0xc
mov dword [ebp - 0x54], edx
mov ecx, dword [ebp - 0x54]
mov dword [esi + 8], ecx
mov dword [ebp - 0x5c], esi
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 8]
mov dword [ebp - 0x208], edx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 8]
mov dword [ebp - 0x64], edx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x60]
push eax
mov edx, dword [ebp - 0x64]
push edx
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
add eax, 0x18
mov dword [ebp - 0x6c], eax
xor eax, eax
mov edi, dword [ebp - 4]
mov dword [ebp - 0x70], eax
add edi, 0x18
mov edx, dword [ebp - 0x70]
mov dword [edi + 8], edx
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
jle 0x580767
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [edi + 8], edx
mov dword [ebp - 0x78], edi
mov ecx, dword [ebp - 0x78]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x218], eax
mov edx, dword [edi + 8]
add edx, 0xfffffff4
mov dword [ebp - 0x7c], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0x7c]
cmp ecx, eax
je 0x5807f2
mov edx, dword [ebp - 0x7c]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x5807f2
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0x80], edx
mov ecx, dword [ebp - 0x80]
push ecx
mov eax, dword [ebp - 0x80]
push eax
push edi
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
add edx, 0xc
mov dword [ebp - 0x84], edx
mov ecx, dword [ebp - 0x84]
mov dword [edi + 8], ecx
mov dword [ebp - 0x8c], edi
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax + 8]
mov dword [ebp - 0x228], edx
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x90], ecx
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax + 8]
mov dword [ebp - 0x94], edx
mov ecx, dword [edi + 8]
mov dword [ebp - 0x98], ecx
mov eax, dword [ebp - 0x90]
push eax
mov edx, dword [ebp - 0x94]
push edx
mov ecx, dword [ebp - 0x98]
push ecx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebp - 0x34]
add eax, 0x28
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 4]
add edx, 0x28
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xa4], ecx
mov eax, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xa4]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
jle 0x5808a4
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx + 8]
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xa8]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xac]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x238], ecx
mov eax, dword [ebp - 0xa0]
mov edx, dword [eax + 8]
add edx, 0xfffffff4
mov dword [ebp - 0xb0], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0xb0]
cmp ecx, eax
je 0x580959
mov edx, dword [ebp - 0xb0]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x580959
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx + 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 - 0xa0]
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 - 0xa0]
mov edx, dword [ebp - 0xb8]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xc0], ecx
mov eax, dword [ebp - 0xc0]
mov edx, dword [eax + 8]
mov dword [ebp - 0x248], edx
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xc4], ecx
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax + 8]
mov dword [ebp - 0xc8], edx
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ecx + 8]
mov dword [ebp - 0xcc], eax
mov edx, dword [ebp - 0xc4]
push edx
mov ecx, dword [ebp - 0xc8]
push ecx
mov eax, dword [ebp - 0xcc]
push eax
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
xor eax, eax
mov edx, dword [ebp - 0x34]
add edx, 0x38
mov dword [ebp - 0xd0], edx
mov ecx, dword [ebp - 4]
add ecx, 0x38
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xd8]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax + 8]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
jle 0x580a0b
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax + 8]
mov dword [ebp - 0xdc], edx
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xdc]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0xe0], edx
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x258], eax
mov edx, dword [ebp - 0xd4]
mov ecx, dword [edx + 8]
add ecx, 0xfffffff4
mov dword [ebp - 0xe4], ecx
mov eax, 0x6ff36c
mov edx, dword [ebp - 0xe4]
cmp eax, edx
je 0x580ac0
mov ecx, dword [ebp - 0xe4]
push ecx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x580ac0
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax + 8]
mov ecx, dword [edx - 4]
mov dword [ebp - 0xe8], ecx
mov eax, dword [ebp - 0xe8]
push eax
mov edx, dword [ebp - 0xe8]
push edx
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
add eax, 0xc
mov dword [ebp - 0xec], eax
mov edx, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xec]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x268], ecx
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0xd0]
mov ecx, dword [edx + 8]
mov dword [ebp - 0xfc], ecx
mov eax, dword [ebp - 0xd4]
mov edx, dword [eax + 8]
mov dword [ebp - 0x100], edx
mov ecx, dword [ebp - 0xf8]
push ecx
mov eax, dword [ebp - 0xfc]
push eax
mov edx, dword [ebp - 0x100]
push edx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
add dword [ebp - 0x14], 0xfffffffc
mov word [ebp - 0x20], 8
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
push eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
add ecx, 0xffffffb8
push ecx
push ebx
call fcn.005812ac
add esp, 0xc
mov esi, dword [ebp + 0x10]
lea eax, [esi + 8]
push eax
lea edx, [ebx + 8]
push edx
call fcn.0069a2e0
add esp, 8
lea ecx, [esi + 0x18]
push ecx
lea eax, [ebx + 0x18]
push eax
call fcn.0069a2e0
add esp, 8
lea edx, [esi + 0x28]
push edx
lea ecx, [ebx + 0x28]
push ecx
call fcn.0069a2e0
add esp, 8
lea eax, [esi + 0x38]
push eax
lea edx, [ebx + 0x38]
push edx
call fcn.0069a2e0
add esp, 8
mov ecx, dword [esi]
mov dword [ebx], ecx
mov eax, dword [ebp + 8]
add dword [eax + 8], 0x48
jmp 0x581298
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
sub eax, ecx
mov ecx, 0x48
cdq
idiv ecx
mov ecx, eax
test ecx, ecx
je 0x580b5a
add ecx, ecx
jmp 0x580b5f
mov ecx, 0xe
mov dword [ebp - 0x10c], ecx
mov edi, dword [ebp - 0x10c]
mov eax, edi
shl eax, 3
lea eax, [eax + eax*8]
push eax
call fcn.0067ac68
pop ecx
mov esi, eax
test esi, esi
jne 0x580bc0
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], 0x50
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 - 0x110], esi
mov eax, dword [ebp - 0x110]
push eax
push ebx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
push ecx
call fcn.0058131c
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x114], eax
mov edx, dword [ebp + 8]
mov eax, ebx
mov edx, dword [edx + 4]
sub eax, edx
mov ecx, 0x48
cdq
idiv ecx
shl eax, 3
lea eax, [eax + eax*8]
mov edx, dword [ebp - 0x110]
add eax, edx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x58116a
mov word [ebp - 0x20], 0x68
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx]
mov dword [edx], eax
xor eax, eax
mov ecx, dword [ebp - 0x114]
add ecx, 8
mov dword [ebp - 0x118], ecx
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x11c], eax
add esi, 8
mov edx, dword [ebp - 0x11c]
mov dword [esi + 8], edx
mov ecx, dword [ebp - 0x118]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
jle 0x580cb8
mov ecx, dword [ebp - 0x118]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x120], eax
mov edx, dword [ebp - 0x120]
mov dword [esi + 8], edx
mov dword [ebp - 0x124], esi
mov ecx, dword [ebp - 0x124]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x278], eax
mov edx, dword [esi + 8]
add edx, 0xfffffff4
mov dword [ebp - 0x128], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0x128]
cmp ecx, eax
je 0x580d55
mov edx, dword [ebp - 0x128]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x580d55
mov ecx, dword [ebp - 0x118]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0x12c], edx
mov ecx, dword [ebp - 0x12c]
push ecx
mov eax, dword [ebp - 0x12c]
push eax
push esi
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x134], eax
mov edx, dword [ebp - 0x134]
add edx, 0xc
mov dword [ebp - 0x130], edx
mov ecx, dword [ebp - 0x130]
mov dword [esi + 8], ecx
mov dword [ebp - 0x138], esi
mov eax, dword [ebp - 0x138]
mov edx, dword [eax + 8]
mov dword [ebp - 0x288], edx
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x13c], ecx
mov eax, dword [ebp - 0x118]
mov edx, dword [eax + 8]
mov dword [ebp - 0x140], edx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x144], ecx
mov eax, dword [ebp - 0x13c]
push eax
mov edx, dword [ebp - 0x140]
push edx
mov ecx, dword [ebp - 0x144]
push ecx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x114]
add eax, 0x18
mov dword [ebp - 0x148], eax
xor eax, eax
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x14c], eax
add edi, 0x18
mov edx, dword [ebp - 0x14c]
mov dword [edi + 8], edx
mov ecx, dword [ebp - 0x148]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
jle 0x580dec
mov ecx, dword [ebp - 0x148]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x150], eax
mov edx, dword [ebp - 0x150]
mov dword [edi + 8], edx
mov dword [ebp - 0x154], edi
mov ecx, dword [ebp - 0x154]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x298], eax
mov edx, dword [edi + 8]
add edx, 0xfffffff4
mov dword [ebp - 0x158], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0x158]
cmp ecx, eax
je 0x580e89
mov edx, dword [ebp - 0x158]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x580e89
mov ecx, dword [ebp - 0x148]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0x15c], edx
mov ecx, dword [ebp - 0x15c]
push ecx
mov eax, dword [ebp - 0x15c]
push eax
push edi
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x164], eax
mov edx, dword [ebp - 0x164]
add edx, 0xc
mov dword [ebp - 0x160], edx
mov ecx, dword [ebp - 0x160]
mov dword [edi + 8], ecx
mov dword [ebp - 0x168], edi
mov eax, dword [ebp - 0x168]
mov edx, dword [eax + 8]
mov dword [ebp - 0x2a8], edx
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x16c], ecx
mov eax, dword [ebp - 0x148]
mov edx, dword [eax + 8]
mov dword [ebp - 0x170], edx
mov ecx, dword [edi + 8]
mov dword [ebp - 0x174], ecx
mov eax, dword [ebp - 0x16c]
push eax
mov edx, dword [ebp - 0x170]
push edx
mov ecx, dword [ebp - 0x174]
push ecx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebp - 0x114]
add eax, 0x28
mov dword [ebp - 0x178], eax
mov edx, dword [ebp - 0xc]
add edx, 0x28
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x180], ecx
mov eax, dword [ebp - 0x17c]
mov edx, dword [ebp - 0x180]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x178]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
jle 0x580f3e
mov ecx, dword [ebp - 0x178]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x184], eax
mov edx, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x184]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x188], eax
mov edx, dword [ebp - 0x188]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x2b8], ecx
mov eax, dword [ebp - 0x17c]
mov edx, dword [eax + 8]
add edx, 0xfffffff4
mov dword [ebp - 0x18c], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0x18c]
cmp ecx, eax
je 0x580ff3
mov edx, dword [ebp - 0x18c]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x580ff3
mov ecx, dword [ebp - 0x178]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0x190], edx
mov ecx, dword [ebp - 0x190]
push ecx
mov eax, dword [ebp - 0x190]
push eax
mov edx, dword [ebp - 0x17c]
push edx
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x198], eax
mov ecx, dword [ebp - 0x198]
add ecx, 0xc
mov dword [ebp - 0x194], ecx
mov eax, dword [ebp - 0x17c]
mov edx, dword [ebp - 0x194]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x19c], ecx
mov eax, dword [ebp - 0x19c]
mov edx, dword [eax + 8]
mov dword [ebp - 0x2c8], edx
mov ecx, dword [ebp - 0x190]
mov dword [ebp - 0x1a0], ecx
mov eax, dword [ebp - 0x178]
mov edx, dword [eax + 8]
mov dword [ebp - 0x1a4], edx
mov ecx, dword [ebp - 0x17c]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1a8], eax
mov edx, dword [ebp - 0x1a0]
push edx
mov ecx, dword [ebp - 0x1a4]
push ecx
mov eax, dword [ebp - 0x1a8]
push eax
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
xor eax, eax
mov edx, dword [ebp - 0x114]
add edx, 0x38
mov dword [ebp - 0x1ac], edx
mov ecx, dword [ebp - 0xc]
add ecx, 0x38
mov dword [ebp - 0x1b0], ecx
mov dword [ebp - 0x1b4], eax
mov edx, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x1b4]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x1ac]
mov edx, dword [eax + 8]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
jle 0x5810a8
mov eax, dword [ebp - 0x1ac]
mov edx, dword [eax + 8]
mov dword [ebp - 0x1b8], edx
mov ecx, dword [ebp - 0x1b0]
mov eax, dword [ebp - 0x1b8]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x1b0]
mov dword [ebp - 0x1bc], edx
mov ecx, dword [ebp - 0x1bc]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x2d8], eax
mov edx, dword [ebp - 0x1b0]
mov ecx, dword [edx + 8]
add ecx, 0xfffffff4
mov dword [ebp - 0x1c0], ecx
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x1c0]
cmp eax, edx
je 0x58115d
mov ecx, dword [ebp - 0x1c0]
push ecx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x58115d
mov eax, dword [ebp - 0x1ac]
mov edx, dword [eax + 8]
mov ecx, dword [edx - 4]
mov dword [ebp - 0x1c4], ecx
mov eax, dword [ebp - 0x1c4]
push eax
mov edx, dword [ebp - 0x1c4]
push edx
mov ecx, dword [ebp - 0x1b0]
push ecx
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1cc]
add eax, 0xc
mov dword [ebp - 0x1c8], eax
mov edx, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x1c8]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1d0], eax
mov edx, dword [ebp - 0x1d0]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x2e8], ecx
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1d4], eax
mov edx, dword [ebp - 0x1ac]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x1d8], ecx
mov eax, dword [ebp - 0x1b0]
mov edx, dword [eax + 8]
mov dword [ebp - 0x1dc], edx
mov ecx, dword [ebp - 0x1d4]
push ecx
mov eax, dword [ebp - 0x1d8]
push eax
mov edx, dword [ebp - 0x1dc]
push edx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
add dword [ebp - 0x14], 0xfffffffc
mov word [ebp - 0x20], 0x5c
mov word [ebp - 0x20], 0xa4
mov ecx, dword [ebp + 8]
mov eax, ebx
mov edx, dword [ecx + 4]
sub eax, edx
mov ecx, 0x48
cdq
idiv ecx
shl eax, 3
lea eax, [eax + eax*8]
mov edx, dword [ebp - 0x110]
add eax, edx
add eax, 0x48
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
push ebx
call fcn.0058131c
mov word [ebp - 0x20], 0
add esp, 0xc
jmp 0x5811dc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov ecx, dword [edx + 4]
sub eax, ecx
mov ecx, 0x48
cdq
idiv ecx
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.005801b8
add esp, 0xc
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x1e8], ecx
mov eax, dword [ebp - 0x1e8]
push eax
call fcn.0067ac7c
mov edx, dword [ebp - 0x10c]
pop ecx
shl edx, 3
mov ecx, dword [ebp - 0x110]
lea edx, [edx + edx*8]
add edx, ecx
mov dword [ebp - 0x1ec], edx
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 0x1f0], eax
mov edx, dword [ebp - 0x1f0]
mov ecx, dword [ebp - 0x1ec]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x1f0]
mov edx, dword [eax + 8]
mov dword [ebp - 0x2f8], edx
mov ecx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x110]
shl ecx, 3
mov edx, dword [ebp + 8]
lea ecx, [ecx + ecx*8]
add ecx, eax
add ecx, 0x48
mov dword [edx + 8], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x110]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret