Function at 0x415c60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcdc
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov dword [ebp - 0xbc], 0x6b1534
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
lea edx, [ebp - 0x194]
push edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
push eax
call fcn.0069e940
add esp, 8
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
test edx, edx
jne 0x415ce9
test byte [ebp - 0x18f], 0x80
je 0x415ce9
test byte [ebp - 0x18f], 0x40
je 0x415cfd
xor eax, eax
mov edx, dword [ebp - 0xc4]
mov dword fs:[0], edx
jmp 0x4165d8
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x1a4]
mov dword [ebp - 0xcc], ecx
mov eax, dword [ebp - 0xcc]
push eax
push 0x6b1148
push edx
call fcn.004166e4
add esp, 0xc
mov ecx, dword [0x6b116c]
mov dword [ebp - 0xd0], ecx
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x1ac], eax
mov edx, dword [ebp - 0x1ac]
mov ecx, dword [ebp - 0x19c]
cmp edx, ecx
setne al
and eax, 1
test al, al
je 0x415dfb
mov edx, dword [ebp - 0x19c]
mov ecx, dword [edx + 0x44]
mov eax, dword [ebp - 0x178]
cmp ecx, eax
jne 0x415da3
mov edx, dword [ebp - 0x19c]
add edx, 0x20
push edx
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004045a0
add esp, 8
push 0
call fcn.006a99d0
pop ecx
mov edx, dword [ebp - 0x19c]
mov dword [edx + 0x40], eax
mov al, 1
mov ecx, dword [ebp - 0xc4]
mov dword fs:[0], ecx
jmp 0x4165d8
mov eax, dword [ebp - 0x1a4]
add esp, 0xfffffff0
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1c0], eax
mov edx, dword [ebp - 0x19c]
mov dword [ebp - 0x1bc], edx
lea edx, [ebp - 0x1d4]
mov ecx, dword [ebp - 0x1c4]
mov dword [esp], ecx
mov ecx, dword [ebp - 0x1c0]
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x1bc]
mov dword [esp + 8], eax
push 0x6b1148
push edx
call fcn.00413500
add esp, 0x18
push 0x6b1144
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
push eax
call fcn.0069f0a4
add esp, 8
mov dword [ebp - 0xd4], eax
test eax, eax
jne 0x415e2d
xor eax, eax
mov edx, dword [ebp - 0xc4]
mov dword fs:[0], edx
jmp 0x4165d8
mov word [ebp - 0xb4], 8
xor ecx, ecx
mov dword [ebp - 0x24], ecx
xor eax, eax
mov dword [ebp - 0x20], eax
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xd8], 0x40
mov dword [ebp - 0xdc], 1
mov ecx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0xd8]
cmp ecx, eax
jbe 0x415e71
lea edx, [ebp - 0xdc]
jmp 0x415e77
lea edx, [ebp - 0xd8]
mov eax, dword [edx]
mov dword [ebp - 0x28], eax
inc dword [ebp - 0xa8]
inc dword [ebp - 0xa8]
mov word [ebp - 0xb4], 0x20
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0x29c]
push ecx
push 0xc3
push eax
call fcn.0069ed2c
add esp, 0xc
test eax, eax
je 0x4160ea
mov byte [ebp - 0x1d9], 0
lea edx, [ebp - 0x29c]
push edx
call fcn.0069ce0c
pop ecx
movsx ecx, byte [ebp + eax - 0x29d]
cmp ecx, 0xa
jne 0x415eea
lea eax, [ebp - 0x29c]
push eax
call fcn.0069ce0c
pop ecx
mov byte [ebp + eax - 0x29d], 0
mov word [ebp - 0xb4], 0x38
lea edx, [ebp - 0xe4]
push edx
lea ecx, [ebp - 0x29c]
push ecx
lea eax, [ebp - 0x38]
push eax
call fcn.0069a6ec
add esp, 0xc
inc dword [ebp - 0xa8]
mov word [ebp - 0xb4], 0x2c
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
je 0x41603e
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xe8], eax
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0x3c], edx
test edx, edx
je 0x416038
mov word [ebp - 0xb4], 0x50
xor eax, eax
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xec]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
jle 0x415fb6
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xf0]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x2a4], ecx
mov eax, dword [ebp - 0x3c]
mov edi, dword [eax + 8]
add edi, 0xfffffff4
cmp edi, 0x6ff36c
je 0x41602f
push edi
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x41602f
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax - 4]
push ebx
push ebx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0069a874
mov dword [ebp - 0xfc], eax
add esp, 0xc
mov ecx, dword [ebp - 0xfc]
add ecx, 0xc
mov dword [ebp - 0xf8], ecx
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0xf8]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x100], ecx
mov eax, dword [ebp - 0x100]
mov edx, dword [eax + 8]
mov dword [ebp - 0x2b4], edx
mov dword [ebp - 0x104], ebx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x108], ecx
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x104]
mov esi, dword [eax + 8]
push edx
mov ecx, dword [ebp - 0x108]
push ecx
push esi
call fcn.0069cc60
add esp, 0xc
mov word [ebp - 0xb4], 0x44
add dword [ebp - 0x20], 0x10
jmp 0x416052
lea eax, [ebp - 0x38]
push eax
mov edx, dword [ebp - 0x20]
push edx
lea ecx, [ebp - 0x28]
push ecx
call fcn.004069b4
add esp, 0xc
dec dword [ebp - 0xa8]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4160d3
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x41609b
mov ebx, dword [ebp - 0x30]
add ebx, 0xfffffff4
cmp ebx, 0x6ff36c
je 0x416092
cmp ebx, 0x6ff36c
je 0x41608b
push ebx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebx]
inc eax
jmp 0x416097
mov eax, 1
jmp 0x416097
mov eax, 1
test eax, eax
jne 0x4160d3
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff4
mov dword [ebp - 0x10c], edx
mov esi, dword [ebp - 0x30]
add esi, 0xfffffff4
push esi
call fcn.0067ac7c
xor eax, eax
pop ecx
mov edi, eax
lea edx, [ebp - 0x38]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x110], edx
mov ecx, dword [ebp - 0x110]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x2c4], eax
mov word [ebp - 0xb4], 0x2c
mov word [ebp - 0xb4], 0x20
jmp 0x415e91
mov edx, dword [ebp - 0xd4]
push edx
call fcn.0069ebfc
pop ecx
lea ecx, [ebp - 0x194]
push ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
push edx
call fcn.0069e940
add esp, 8
push 0
call fcn.006a99d0
pop ecx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x178]
xor eax, eax
mov dword [ebp - 4], ecx
xor edx, edx
mov esi, dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp - 0xb4], 0x80
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x114], 0x40
mov dword [ebp - 0x118], 1
mov eax, dword [ebp - 0x118]
mov edx, dword [ebp - 0x114]
cmp eax, edx
jbe 0x416168
lea ecx, [ebp - 0x118]
jmp 0x41616e
lea ecx, [ebp - 0x114]
mov eax, dword [ecx]
lea ebx, [ebp - 0x64]
mov dword [ebp - 0x64], eax
xor eax, eax
inc dword [ebp - 0xa8]
inc dword [ebp - 0xa8]
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x94], edx
mov word [ebp - 0xb4], 0x98
mov ecx, dword [esi + 8]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
jle 0x41620d
mov edx, dword [esi + 8]
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x120], edx
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x124], eax
mov edx, dword [ebp - 0x124]
mov ecx, dword [edx + 8]
mov edx, 0x6ff36c
mov dword [ebp - 0x2d4], ecx
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff4
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
cmp edx, ecx
je 0x4162b0
mov eax, dword [ebp - 0x128]
push eax
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x4162b0
mov edx, dword [esi + 8]
mov ecx, dword [edx - 4]
mov dword [ebp - 0x12c], ecx
mov eax, dword [ebp - 0x12c]
push eax
mov edx, dword [ebp - 0x12c]
push edx
lea ecx, [ebp - 0x9c]
push ecx
call fcn.0069a874
mov dword [ebp - 0x134], eax
add esp, 0xc
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x9c]
add eax, 0xc
mov dword [ebp - 0x130], eax
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x138]
mov edx, dword [eax + 8]
mov dword [ebp - 0x2e4], edx
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x13c], ecx
mov eax, dword [esi + 8]
mov dword [ebp - 0x140], eax
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x144], edx
mov ecx, dword [ebp - 0x13c]
push ecx
mov eax, dword [ebp - 0x140]
push eax
mov edx, dword [ebp - 0x144]
push edx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0xa8]
xor ecx, ecx
mov word [ebp - 0xb4], 0x80
mov dword [ebp - 0x88], ecx
xor eax, eax
mov dword [ebp - 0x84], eax
xor edx, edx
mov dword [ebp - 0x74], edx
mov word [ebp - 0xb4], 0xb0
mov dword [ebp - 0x148], 0x40
mov dword [ebp - 0x14c], 1
mov ecx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x148]
cmp ecx, eax
jbe 0x416309
lea edx, [ebp - 0x14c]
jmp 0x41630f
lea edx, [ebp - 0x148]
mov eax, dword [edx]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
sub ecx, eax
test ecx, ecx
jns 0x416326
add ecx, 0xf
sar ecx, 4
mov dword [ebp - 0x150], ecx
mov edx, dword [ebp - 0x150]
shl edx, 4
push edx
call fcn.0067ac68
pop ecx
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
test ecx, ecx
jne 0x41639b
lea eax, [ebp - 0xc4]
mov edx, 0x6b0470
push eax
push 0
push 0
push 0
push 1
push 0x40487c
push 0
mov dword [ebp - 0xa0], edx
inc dword [ebp - 0xa8]
mov ecx, 0x6b045c
mov dword [ebp - 0xa0], ecx
lea eax, [ebp - 0xa0]
inc dword [ebp - 0xa8]
push eax
push 0x404824
call fcn.006aa5c5
add esp, 0x24
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x88], edx
mov ecx, dword [ebp - 0x88]
push ecx
mov eax, dword [ebx + 8]
push eax
mov edx, dword [ebx + 4]
push edx
call fcn.004048e0
add esp, 0xc
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x2f4], eax
inc dword [ebp - 0xa8]
mov edx, dword [ebx + 0x20]
mov dword [ebp - 0x6c], edx
mov ecx, dword [ebx + 0x24]
mov dword [ebp - 0x68], ecx
inc dword [ebp - 0xa8]
mov word [ebp - 0xb4], 0x80
inc dword [ebp - 0xa8]
dec dword [ebp - 0xa8]
dec dword [ebp - 0xa8]
mov eax, dword [ebp - 0x5c]
push eax
mov edx, dword [ebp - 0x60]
push edx
lea ecx, [ebp - 0x64]
push ecx
call fcn.0040445c
add esp, 0xc
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x158], eax
mov edx, dword [ebp - 0x158]
push edx
call fcn.0067ac7c
pop ecx
lea eax, [ebp - 0x314]
lea ecx, [ebp - 0x9c]
push ecx
push 0x6b1148
push eax
call fcn.004167c8
add esp, 0xc
mov edx, dword [ebp - 0x30c]
add edx, 0x10
add edx, 0x10
push edx
dec dword [ebp - 0xa8]
dec dword [ebp - 0xa8]
dec dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x84]
push ecx
mov eax, dword [ebp - 0x88]
push eax
lea edx, [ebp - 0x8c]
push edx
call fcn.0040445c
add esp, 0xc
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x15c], ecx
mov eax, dword [ebp - 0x15c]
push eax
call fcn.0067ac7c
pop ecx
dec dword [ebp - 0xa8]
mov edx, dword [ebp - 0x94]
test edx, edx
je 0x416553
mov ecx, dword [ebp - 0x94]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
je 0x4164f9
mov edi, dword [ebp - 0x94]
add edi, 0xfffffff4
cmp edi, 0x6ff36c
je 0x4164f0
cmp edi, 0x6ff36c
je 0x4164e9
push edi
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [edi]
inc eax
jmp 0x4164f5
mov eax, 1
jmp 0x4164f5
mov eax, 1
test eax, eax
jne 0x416553
mov edx, dword [ebp - 0x94]
add edx, 0xfffffff4
mov dword [ebp - 0x160], edx
mov ecx, dword [ebp - 0x94]
add ecx, 0xfffffff4
mov dword [ebp - 0x164], ecx
mov eax, dword [ebp - 0x164]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x168], edx
lea eax, [ebp - 0x9c]
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp - 0x16c]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x31c], ecx
pop eax
lea edx, [ebp - 0x28]
mov word [ebp - 0xb4], 0x74
push edx
mov ebx, eax
push ebx
call fcn.004045a0
mov ecx, dword [ebp - 8]
add esp, 8
mov dword [ebx + 0x20], ecx
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov dword [ebx + 0x24], eax
push edx
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004045a0
add esp, 8
mov al, 1
push eax
dec dword [ebp - 0xa8]
dec dword [ebp - 0xa8]
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x24]
push ecx
lea eax, [ebp - 0x28]
push eax
call fcn.0040445c
add esp, 0xc
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x170], edx
mov ecx, dword [ebp - 0x170]
push ecx
call fcn.0067ac7c
pop ecx
mov word [ebp - 0xb4], 0x20
pop eax
mov edx, dword [ebp - 0xc4]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret