Function at 0x410dd8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff5c8
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xbc], 0x6b0f18
mov dword [ebp - 0xb8], esp
mov dword [ebp - 0xc0], eax
mov word [ebp - 0xb4], 0
mov dword [ebp - 0xa8], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0xc4], ecx
lea eax, [ebp - 0xc4]
mov dword fs:[0], eax
push 0x800
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x978]
push ecx
call fcn.0069d020
add esp, 0xc
mov byte [ebp - 0x179], 0
mov word [ebp - 0xb4], 0x14
lea eax, [ebp - 0xcc]
push eax
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x30]
push ecx
call fcn.0069a6ec
add esp, 0xc
inc dword [ebp - 0xa8]
lea eax, [ebp - 0x30]
push eax
mov edx, dword [ebx + 0x70]
push edx
lea ecx, [ebp - 0x20]
push ecx
call fcn.00410380
add dword [ebp - 0xa8], 3
dec dword [ebp - 0xa8]
add esp, 0xc
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x410f2a
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x410edc
mov edi, dword [ebp - 0x28]
add edi, 0xfffffff4
cmp edi, 0x6ff36c
je 0x410ed3
cmp edi, 0x6ff36c
je 0x410ecc
push edi
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [edi]
inc eax
jmp 0x410ed8
mov eax, 1
jmp 0x410ed8
mov eax, 1
test eax, eax
jne 0x410f2a
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff4
mov dword [ebp - 0xd0], edx
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff4
mov dword [ebp - 0xd4], ecx
mov eax, dword [ebp - 0xd4]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0xd8], edx
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0xdc], eax
mov edx, dword [ebp - 0xdc]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x9a0], ecx
mov word [ebp - 0xb4], 8
push 0x800
lea eax, [ebp - 0x978]
push eax
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebx + 0x70]
add ecx, 0x48
push ecx
call fcn.004b266c
add esp, 0x10
test al, al
je 0x41155c
lea eax, [ebp - 0x978]
push eax
mov edx, dword [ebx + 0x70]
push edx
call fcn.00442034
add esp, 8
test al, al
je 0x411216
mov word [ebp - 0xb4], 0x2c
push 0
lea ecx, [ebp - 0x20]
push ecx
lea eax, [ebp - 0xe4]
push eax
lea edx, [ebp - 0x978]
push edx
lea ecx, [ebp - 0x40]
push ecx
call fcn.0069a6ec
add esp, 0xc
inc dword [ebp - 0xa8]
lea eax, [ebp - 0x40]
push eax
mov edx, dword [ebx + 0x70]
push edx
lea ecx, [ebp - 0x60]
push ecx
call fcn.0043fed8
add esp, 0x14
lea edi, [ebp - 0x60]
add dword [ebp - 0xa8], 3
push edi
lea eax, [ebp - 0x20]
push eax
call fcn.0069a2e0
add esp, 8
add edi, 0x10
push edi
lea eax, [ebp - 0x10]
push eax
call fcn.0069a2e0
add esp, 8
dec dword [ebp - 0xa8]
dec dword [ebp - 0xa8]
mov edx, dword [ebp - 0x48]
test edx, edx
je 0x411080
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
je 0x411032
mov edi, dword [ebp - 0x48]
add edi, 0xfffffff4
cmp edi, 0x6ff36c
je 0x411029
cmp edi, 0x6ff36c
je 0x411022
push edi
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [edi]
inc eax
jmp 0x41102e
mov eax, 1
jmp 0x41102e
mov eax, 1
test eax, eax
jne 0x411080
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff4
mov dword [ebp - 0xe8], edx
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff4
mov dword [ebp - 0xec], ecx
mov eax, dword [ebp - 0xec]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0xf0], edx
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x9b0], ecx
mov word [ebp - 0xb4], 8
dec dword [ebp - 0xa8]
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x411124
mov edx, dword [ebp - 0x58]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x4110d6
mov edi, dword [ebp - 0x58]
add edi, 0xfffffff4
cmp edi, 0x6ff36c
je 0x4110cd
cmp edi, 0x6ff36c
je 0x4110c6
push edi
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [edi]
inc eax
jmp 0x4110d2
mov eax, 1
jmp 0x4110d2
mov eax, 1
test eax, eax
jne 0x411124
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff4
mov dword [ebp - 0xf8], edx
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff4
mov dword [ebp - 0xfc], ecx
mov eax, dword [ebp - 0xfc]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x100], edx
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x104], eax
mov edx, dword [ebp - 0x104]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x9c0], ecx
dec dword [ebp - 0xa8]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4111bf
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x411171
mov edi, dword [ebp - 0x38]
add edi, 0xfffffff4
cmp edi, 0x6ff36c
je 0x411168
cmp edi, 0x6ff36c
je 0x411161
push edi
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [edi]
inc eax
jmp 0x41116d
mov eax, 1
jmp 0x41116d
mov eax, 1
test eax, eax
jne 0x4111bf
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff4
mov dword [ebp - 0x108], edx
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff4
mov dword [ebp - 0x10c], ecx
mov eax, dword [ebp - 0x10c]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x110], edx
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 0x114]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x9d0], ecx
mov eax, dword [ebx + 0x70]
mov dl, byte [eax + 0x40]
test dl, dl
je 0x411522
mov ecx, dword [ebx + 0x70]
mov eax, dword [ecx + 0x38]
mov ecx, dword [ebp - 8]
mov edx, dword [eax - 4]
mov eax, dword [ecx - 4]
cmp edx, eax
ja 0x411200
mov edx, dword [ebx + 0x70]
mov ecx, dword [edx + 0x38]
mov eax, dword [ecx - 4]
mov edx, dword [ebp - 8]
add eax, edx
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.0069a464
add esp, 8
jmp 0x411522
push 0x6b0b31
lea eax, [ebp - 0x10]
push eax
call fcn.0069a464
add esp, 8
jmp 0x411522
mov word [ebp - 0xb4], 0x5c
push 1
lea edx, [ebp - 0x124]
push edx
mov ecx, dword [ebp + 0xc]
push ecx
lea eax, [ebp - 0x70]
push eax
call fcn.0069a6ec
add esp, 0xc
inc dword [ebp - 0xa8]
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x11c]
push ecx
lea eax, [ebp - 0x978]
push eax
lea edx, [ebp - 0x80]
push edx
call fcn.0069a6ec
add esp, 0xc
inc dword [ebp - 0xa8]
lea ecx, [ebp - 0x80]
push ecx
mov eax, dword [ebx + 0x70]
push eax
lea edx, [ebp - 0xa0]
push edx
call fcn.0043fed8
add esp, 0x14
lea ecx, [ebp - 0xa0]
add dword [ebp - 0xa8], 3
mov ebx, ecx
push ebx
lea eax, [ebp - 0x20]
push eax
call fcn.0069a2e0
add esp, 8
add ebx, 0x10
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.0069a2e0
add esp, 8
dec dword [ebp - 0xa8]
dec dword [ebp - 0xa8]
mov edx, dword [ebp - 0x88]
test edx, edx
je 0x41134f
mov ecx, dword [ebp - 0x88]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
je 0x411301
mov ebx, dword [ebp - 0x88]
add ebx, 0xfffffff4
cmp ebx, 0x6ff36c
je 0x4112f8
cmp ebx, 0x6ff36c
je 0x4112f1
push ebx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebx]
inc eax
jmp 0x4112fd
mov eax, 1
jmp 0x4112fd
mov eax, 1
test eax, eax
jne 0x41134f
mov edx, dword [ebp - 0x88]
add edx, 0xfffffff4
mov dword [ebp - 0x128], edx
mov edi, dword [ebp - 0x88]
add edi, 0xfffffff4
push edi
call fcn.0067ac7c
pop ecx
xor eax, eax
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x90]
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x130], ecx
mov eax, dword [ebp - 0x130]
mov edx, dword [eax + 8]
mov dword [ebp - 0x9e0], edx
mov word [ebp - 0xb4], 8
dec dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x4113fc
mov eax, dword [ebp - 0x98]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
je 0x4113ae
mov ebx, dword [ebp - 0x98]
add ebx, 0xfffffff4
cmp ebx, 0x6ff36c
je 0x4113a5
cmp ebx, 0x6ff36c
je 0x41139e
push ebx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebx]
inc eax
jmp 0x4113aa
mov eax, 1
jmp 0x4113aa
mov eax, 1
test eax, eax
jne 0x4113fc
mov edx, dword [ebp - 0x98]
add edx, 0xfffffff4
mov dword [ebp - 0x134], edx
mov edi, dword [ebp - 0x98]
add edi, 0xfffffff4
push edi
call fcn.0067ac7c
pop ecx
xor eax, eax
mov dword [ebp - 0x138], eax
lea ecx, [ebp - 0xa0]
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x13c], ecx
mov eax, dword [ebp - 0x13c]
mov edx, dword [eax + 8]
mov dword [ebp - 0x9f0], edx
dec dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x411487
mov eax, dword [ebp - 0x78]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
je 0x411445
mov ebx, dword [ebp - 0x78]
add ebx, 0xfffffff4
cmp ebx, 0x6ff36c
je 0x41143c
cmp ebx, 0x6ff36c
je 0x411435
push ebx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebx]
inc eax
jmp 0x411441
mov eax, 1
jmp 0x411441
mov eax, 1
test eax, eax
jne 0x411487
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff4
mov dword [ebp - 0x140], edx
mov edi, dword [ebp - 0x78]
add edi, 0xfffffff4
push edi
call fcn.0067ac7c
pop ecx
xor eax, eax
mov dword [ebp - 0x144], eax
lea ecx, [ebp - 0x80]
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x148], ecx
mov eax, dword [ebp - 0x148]
mov edx, dword [eax + 8]
mov dword [ebp - 0xa00], edx
dec dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x411522
mov eax, dword [ebp - 0x68]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
je 0x4114d4
mov ebx, dword [ebp - 0x68]
add ebx, 0xfffffff4
cmp ebx, 0x6ff36c
je 0x4114cb
cmp ebx, 0x6ff36c
je 0x4114c4
push ebx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebx]
inc eax
jmp 0x4114d0
mov eax, 1
jmp 0x4114d0
mov eax, 1
test eax, eax
jne 0x411522
mov edx, dword [ebp - 0x68]
add edx, 0xfffffff4
mov dword [ebp - 0x14c], edx
mov ecx, dword [ebp - 0x68]
add ecx, 0xfffffff4
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x154], edx
lea eax, [ebp - 0x70]
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x158], eax
mov edx, dword [ebp - 0x158]
mov ecx, dword [edx + 8]
mov dword [ebp - 0xa10], ecx
mov eax, dword [ebp - 8]
mov edx, dword [eax - 4]
inc edx
push edx
call fcn.0067ac46
mov ebx, eax
pop ecx
mov dword [esi], ebx
mov eax, dword [ebp - 8]
push esi
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
mov esi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41156b
push 1
call fcn.0067ac46
pop ecx
mov ebx, eax
mov dword [esi], ebx
mov byte [ebx], 0
dec dword [ebp - 0xa8]
dec dword [ebp - 0xa8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x41160c
mov edx, dword [ebp - 8]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x4115be
mov ebx, dword [ebp - 8]
add ebx, 0xfffffff4
cmp ebx, 0x6ff36c
je 0x4115b5
cmp ebx, 0x6ff36c
je 0x4115ae
push ebx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebx]
inc eax
jmp 0x4115ba
mov eax, 1
jmp 0x4115ba
mov eax, 1
test eax, eax
jne 0x41160c
mov edx, dword [ebp - 8]
add edx, 0xfffffff4
mov dword [ebp - 0x15c], edx
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff4
mov dword [ebp - 0x160], ecx
mov eax, dword [ebp - 0x160]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x164], edx
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 0x168]
mov ecx, dword [edx + 8]
mov dword [ebp - 0xa20], ecx
dec dword [ebp - 0xa8]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4116a7
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x411659
mov ebx, dword [ebp - 0x18]
add ebx, 0xfffffff4
cmp ebx, 0x6ff36c
je 0x411650
cmp ebx, 0x6ff36c
je 0x411649
push ebx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebx]
inc eax
jmp 0x411655
mov eax, 1
jmp 0x411655
mov eax, 1
test eax, eax
jne 0x4116a7
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff4
mov dword [ebp - 0x16c], edx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff4
mov dword [ebp - 0x170], ecx
mov eax, dword [ebp - 0x170]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x174], edx
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x178], eax
mov edx, dword [ebp - 0x178]
mov ecx, dword [edx + 8]
mov dword [ebp - 0xa30], ecx
mov eax, dword [ebp - 0xc4]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret