Function at 0x409568
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdcc
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x28], 0x6b0044
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 0x409976
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
add eax, 0xffffffc0
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 0x409911
mov word [ebp - 0x20], 0x14
xor edx, edx
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 8]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
jle 0x409647
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x40]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 8]
mov dword [ebp - 0x16c], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 8]
add eax, 0xfffffff4
mov dword [ebp - 0x48], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x48]
cmp edx, ecx
je 0x4096ba
mov eax, dword [ebp - 0x48]
push eax
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x4096ba
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 8]
mov eax, dword [ecx - 4]
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 0x4c]
push ecx
mov eax, dword [ebp - 4]
push eax
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
add edx, 0xc
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x50]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0x58], edx
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x17c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], edx
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x5c]
push eax
mov edx, dword [ebp - 0x60]
push edx
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
add eax, 0x10
mov dword [ebp - 0x68], eax
xor eax, eax
mov esi, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
add esi, 0x10
mov edx, dword [ebp - 0x6c]
mov dword [esi + 8], edx
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
jle 0x40972a
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov dword [esi + 8], edx
mov dword [ebp - 0x74], esi
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x18c], eax
mov edx, dword [esi + 8]
add edx, 0xfffffff4
mov dword [ebp - 0x78], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0x78]
cmp ecx, eax
je 0x4097af
mov edx, dword [ebp - 0x78]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x4097af
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0x7c], edx
mov ecx, dword [ebp - 0x7c]
push ecx
mov eax, dword [ebp - 0x7c]
push eax
push esi
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
add edx, 0xc
mov dword [ebp - 0x80], edx
mov ecx, dword [ebp - 0x80]
mov dword [esi + 8], ecx
mov dword [ebp - 0x88], esi
mov eax, dword [ebp - 0x88]
mov edx, dword [eax + 8]
mov dword [ebp - 0x19c], edx
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], ecx
mov eax, dword [ebp - 0x68]
mov edx, dword [eax + 8]
mov dword [ebp - 0x90], edx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x94], ecx
mov eax, dword [ebp - 0x8c]
push eax
mov edx, dword [ebp - 0x90]
push edx
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
add eax, 0x20
mov dword [ebp - 0x98], eax
xor eax, eax
mov edi, dword [ebp - 4]
mov dword [ebp - 0x9c], eax
add edi, 0x20
mov edx, dword [ebp - 0x9c]
mov dword [edi + 8], edx
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
jle 0x409843
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 8]
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [edi + 8], edx
mov dword [ebp - 0xa4], edi
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1ac], eax
mov edx, dword [edi + 8]
add edx, 0xfffffff4
mov dword [ebp - 0xa8], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0xa8]
cmp ecx, eax
je 0x4098e0
mov edx, dword [ebp - 0xa8]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x4098e0
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0xac], edx
mov ecx, dword [ebp - 0xac]
push ecx
mov eax, dword [ebp - 0xac]
push eax
push edi
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
add edx, 0xc
mov dword [ebp - 0xb0], edx
mov ecx, dword [ebp - 0xb0]
mov dword [edi + 8], ecx
mov dword [ebp - 0xb8], edi
mov eax, dword [ebp - 0xb8]
mov edx, dword [eax + 8]
mov dword [ebp - 0x1bc], edx
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xbc], ecx
mov eax, dword [ebp - 0x98]
mov edx, dword [eax + 8]
mov dword [ebp - 0xc0], edx
mov ecx, dword [edi + 8]
mov dword [ebp - 0xc4], ecx
mov eax, dword [ebp - 0xbc]
push eax
mov edx, dword [ebp - 0xc0]
push edx
mov ecx, dword [ebp - 0xc4]
push ecx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x30]
mov dword [ecx + 0x30], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x34]
mov dword [ecx + 0x34], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x38]
mov dword [ecx + 0x38], edx
add dword [ebp - 0x14], 0xfffffffd
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, 0xffffffc0
push eax
push ebx
call fcn.00409f1c
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
lea ecx, [esi + 0x20]
push ecx
lea eax, [ebx + 0x20]
push eax
call fcn.0069a2e0
add esp, 8
mov edx, dword [esi + 0x30]
mov dword [ebx + 0x30], edx
mov ecx, dword [esi + 0x34]
mov dword [ebx + 0x34], ecx
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x38], eax
mov edx, dword [ebp + 8]
add dword [edx + 8], 0x40
jmp 0x409f0b
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov ecx, dword [edx + 4]
sub eax, ecx
test eax, eax
jns 0x40998b
add eax, 0x3f
sar eax, 6
test eax, eax
je 0x409996
add eax, eax
jmp 0x40999b
mov eax, 0x10
mov dword [ebp - 0xd0], eax
mov edi, dword [ebp - 0xd0]
shl edi, 6
push edi
call fcn.0067ac68
pop ecx
mov esi, eax
test esi, esi
jne 0x4099f7
lea edx, [ebp - 0x30]
mov ecx, 0x6b0470
push edx
push 0
push 0
push 0
push 1
push 0x40487c
push 0
mov eax, 0x6b045c
mov word [ebp - 0x20], 0x44
mov dword [ebp - 8], ecx
lea edx, [ebp - 8]
inc dword [ebp - 0x14]
mov dword [ebp - 8], eax
inc dword [ebp - 0x14]
push edx
push 0x404824
call fcn.006aa5c5
add esp, 0x24
mov dword [ebp - 0xd4], esi
mov ecx, dword [ebp - 0xd4]
push ecx
push ebx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
push edx
call fcn.00409f84
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xd8], ecx
mov eax, dword [ebp + 8]
push dword [eax + 4]
mov eax, ebx
pop edx
sub eax, edx
test eax, eax
jns 0x409a2f
add eax, 0x3f
sar eax, 6
shl eax, 6
mov ecx, dword [ebp - 0xd4]
add eax, ecx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x409e24
mov word [ebp - 0x20], 0x5c
xor edx, edx
mov dword [ebp - 0xdc], edx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xdc]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0xd8]
mov ecx, dword [edx + 8]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
jle 0x409ad9
mov edx, dword [ebp - 0xd8]
mov ecx, dword [edx + 8]
mov dword [ebp - 0xe0], ecx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xe0]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0xe4], ecx
mov eax, dword [ebp - 0xe4]
mov edx, dword [eax + 8]
mov dword [ebp - 0x1cc], edx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 8]
add eax, 0xfffffff4
mov dword [ebp - 0xe8], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0xe8]
cmp edx, ecx
je 0x409b82
mov eax, dword [ebp - 0xe8]
push eax
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x409b82
mov edx, dword [ebp - 0xd8]
mov ecx, dword [edx + 8]
mov eax, dword [ecx - 4]
mov dword [ebp - 0xec], eax
mov edx, dword [ebp - 0xec]
push edx
mov ecx, dword [ebp - 0xec]
push ecx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
add edx, 0xc
mov dword [ebp - 0xf0], edx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xf0]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0xf8], edx
mov ecx, dword [ebp - 0xf8]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1dc], eax
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xfc], edx
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x104], ecx
mov eax, dword [ebp - 0xfc]
push eax
mov edx, dword [ebp - 0x100]
push edx
mov ecx, dword [ebp - 0x104]
push ecx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0xd8]
add eax, 0x10
mov dword [ebp - 0x108], eax
xor eax, eax
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x10c], eax
add esi, 0x10
mov edx, dword [ebp - 0x10c]
mov dword [esi + 8], edx
mov ecx, dword [ebp - 0x108]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
jle 0x409c19
mov ecx, dword [ebp - 0x108]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x110]
mov dword [esi + 8], edx
mov dword [ebp - 0x114], esi
mov ecx, dword [ebp - 0x114]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1ec], eax
mov edx, dword [esi + 8]
add edx, 0xfffffff4
mov dword [ebp - 0x118], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0x118]
cmp ecx, eax
je 0x409cb6
mov edx, dword [ebp - 0x118]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x409cb6
mov ecx, dword [ebp - 0x108]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0x11c], edx
mov ecx, dword [ebp - 0x11c]
push ecx
mov eax, dword [ebp - 0x11c]
push eax
push esi
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x124], eax
mov edx, dword [ebp - 0x124]
add edx, 0xc
mov dword [ebp - 0x120], edx
mov ecx, dword [ebp - 0x120]
mov dword [esi + 8], ecx
mov dword [ebp - 0x128], esi
mov eax, dword [ebp - 0x128]
mov edx, dword [eax + 8]
mov dword [ebp - 0x1fc], edx
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x12c], ecx
mov eax, dword [ebp - 0x108]
mov edx, dword [eax + 8]
mov dword [ebp - 0x130], edx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x134], ecx
mov eax, dword [ebp - 0x12c]
push eax
mov edx, dword [ebp - 0x130]
push edx
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0xd8]
add eax, 0x20
mov dword [ebp - 0x138], eax
xor eax, eax
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x13c], eax
add edi, 0x20
mov edx, dword [ebp - 0x13c]
mov dword [edi + 8], edx
mov ecx, dword [ebp - 0x138]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
jle 0x409d4d
mov ecx, dword [ebp - 0x138]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x140], eax
mov edx, dword [ebp - 0x140]
mov dword [edi + 8], edx
mov dword [ebp - 0x144], edi
mov ecx, dword [ebp - 0x144]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x20c], eax
mov edx, dword [edi + 8]
add edx, 0xfffffff4
mov dword [ebp - 0x148], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0x148]
cmp ecx, eax
je 0x409dea
mov edx, dword [ebp - 0x148]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x409dea
mov ecx, dword [ebp - 0x138]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0x14c], edx
mov ecx, dword [ebp - 0x14c]
push ecx
mov eax, dword [ebp - 0x14c]
push eax
push edi
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x154], eax
mov edx, dword [ebp - 0x154]
add edx, 0xc
mov dword [ebp - 0x150], edx
mov ecx, dword [ebp - 0x150]
mov dword [edi + 8], ecx
mov dword [ebp - 0x158], edi
mov eax, dword [ebp - 0x158]
mov edx, dword [eax + 8]
mov dword [ebp - 0x21c], edx
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x15c], ecx
mov eax, dword [ebp - 0x138]
mov edx, dword [eax + 8]
mov dword [ebp - 0x160], edx
mov ecx, dword [edi + 8]
mov dword [ebp - 0x164], ecx
mov eax, dword [ebp - 0x15c]
push eax
mov edx, dword [ebp - 0x160]
push edx
mov ecx, dword [ebp - 0x164]
push ecx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0x30]
mov dword [ecx + 0x30], edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0x34]
mov dword [ecx + 0x34], edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0x38]
mov dword [ecx + 0x38], edx
add dword [ebp - 0x14], 0xfffffffd
mov word [ebp - 0x20], 0x50
mov word [ebp - 0x20], 0x8c
mov eax, dword [ebp + 8]
mov edx, ebx
mov ecx, dword [eax + 4]
sub edx, ecx
test edx, edx
jns 0x409e3b
add edx, 0x3f
sar edx, 6
shl edx, 6
mov eax, dword [ebp - 0xd4]
add edx, eax
add edx, 0x40
push edx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
push ecx
push ebx
call fcn.00409f84
mov word [ebp - 0x20], 0
add esp, 0xc
jmp 0x409e89
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ebx, dword [edx + 8]
mov edx, dword [eax + 4]
sub ebx, edx
test ebx, ebx
jns 0x409e9e
add ebx, 0x3f
sar ebx, 6
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
push eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00408b48
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call fcn.0067ac7c
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp + 8]
add eax, 0x10
pop ecx
shl edx, 6
mov ecx, dword [ebp - 0xd4]
add edx, ecx
mov dword [eax + 8], edx
mov edx, dword [eax + 8]
mov dword [ebp - 0x22c], edx
shl ebx, 6
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ebp + 8]
add ebx, ecx
add ebx, 0x40
mov dword [eax + 8], ebx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0xd4]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x30]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret