Function at 0x100142e0
Capabilities:
Check for time delay via gettickcount
Delete file
Get number of processors
Resolve function by parsing pe exports
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x10019563
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x10021138]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10021138]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.10013d30
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [0x1002364c]
mov dword [ecx + 0x44], eax
call fcn.10013d30
mov edx, dword [0x1002364c]
mov dword [edx + 4], 1
call fcn.10013d30
push 0x11
mov ebp, 7
push 0x1001c36c
lea esi, [esp + 0x2c]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
call fcn.10002ff0
mov dword [esp + 0x2a0], ebx
call fcn.10013d30
push 0x10
push str.BDLogicUtils_url
lea esi, [esp + 0x80]
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
call fcn.10002ff0
mov byte [esp + 0x2a0], 1
call fcn.10013d30
lea ecx, [esp + 0x24]
call fcn.10015fd0
mov eax, dword [0x1002364c]
mov ecx, dword [eax + 0x44]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push ecx
call edi
call fcn.10013d30
mov eax, dword [0x1002364c]
cmp dword [eax + 0x48], ebx
je 0x10014573
mov edx, dword [eax + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
call fcn.10013d30
mov eax, dword [0x1002364c]
mov dword [eax + 4], 2
call fcn.10013d30
push 0xe
push str.BDMReport.dll
lea esi, [esp + 0x2c]
call fcn.10002ff0
call fcn.10013d30
push 0xd
push str.BDMReport_url
lea esi, [esp + 0x80]
call fcn.10002ff0
call fcn.10013d30
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push ebx
mov eax, esi
mov word [ecx + 4], bx
call fcn.10002bf0
sub esp, 0x1c
mov byte [esp + 0x2d8], 2
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0x64]
mov word [ecx + 4], bx
call fcn.10002bf0
mov ecx, dword [0x1002364c]
add ecx, 0x40
mov byte [esp + 0x2d8], 1
call fcn.100162d0
call fcn.10013d30
mov ecx, dword [0x1002364c]
mov edx, dword [ecx + 0x44]
push 0xffffffffffffffff
push edx
call edi
call fcn.10013d30
mov eax, dword [0x1002364c]
cmp dword [eax + 0x48], ebx
je 0x10014573
mov eax, dword [eax + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
call fcn.10013d30
mov ecx, dword [0x1002364c]
mov dword [ecx + 4], 3
call fcn.10013d30
push 0xb
push str.BDMNet.dll
lea esi, [esp + 0x2c]
call fcn.10002ff0
call fcn.10013d30
push 0xa
push str.BDMNet_url
lea esi, [esp + 0x80]
call fcn.10002ff0
call fcn.10013d30
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push ebx
mov eax, esi
mov word [ecx + 4], bx
call fcn.10002bf0
sub esp, 0x1c
mov byte [esp + 0x2d8], 3
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0x64]
mov word [ecx + 4], bx
call fcn.10002bf0
mov ecx, dword [0x1002364c]
add ecx, 0x40
mov byte [esp + 0x2d8], 1
call fcn.100162d0
call fcn.10013d30
mov edx, dword [0x1002364c]
mov eax, dword [edx + 0x44]
push 0xffffffffffffffff
push eax
call edi
call fcn.10013d30
mov ecx, dword [0x1002364c]
cmp dword [ecx + 0x48], ebx
je 0x100146b6
lea edx, [esp + 0x14]
push edx
mov ecx, 0x1001c420
call fcn.100024e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 4
call fcn.100175e0
mov eax, dword [esp + 0x14]
mov dword [0x10023680], 2
mov dword [0x10023684], 5
mov dword [0x10023688], 1
mov ecx, 0x1001c424
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100145f6
cmp dx, bx
je 0x100145f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100145f6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x100145d0
xor eax, eax
jmp 0x100145fb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
xor ecx, ecx
cmp al, bl
sete cl
mov dword [0x1002368c], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
sub edx, dword [0x10023650]
mov eax, 0x10624dd3
mul edx
push 5
shr edx, 6
push 0x1001c428
mov esi, 0x10023694
mov dword [0x10023690], edx
call fcn.10002ff0
mov edx, dword [esp + 0x14]
cmp dword [edx - 4], 1
jle 0x10014658
mov eax, dword [edx - 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.10003100
mov edx, dword [esp + 0x14]
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10014660
sub eax, esi
sar eax, 1
push eax
push edx
mov esi, 0x100236b0
call fcn.10002ff0
mov esi, 0x10023680
call fcn.10018b90
test eax, eax
je 0x1001468e
call fcn.100189d0
mov byte [esp + 0x2a0], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100146b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x18], ebx
lea ebx, [ebx]
mov ecx, dword [0x1002364c]
mov edx, dword [ecx + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
call fcn.10013d30
mov eax, dword [0x1002364c]
mov dword [eax + 4], 4
call fcn.10013d30
push 1
push 0x1001c434
lea esi, [esp + 0x2c]
call fcn.10002ff0
call fcn.10013d30
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
mov byte [esp + 0x2a0], 5
call fcn.10013d30
lea ecx, [esp + 0x5c]
push ecx
call fcn.10017430
add esp, 4
call fcn.10013d30
push ebx
lea edx, [esp + 0x60]
push edx
or eax, 0xffffffff
call fcn.10002e60
call fcn.10013d30
push 4
push 0x1001c438
mov ecx, esi
call fcn.10002f20
call fcn.10013d30
mov ecx, dword [0x1002364c]
push 0xffffffffffffffff
add ecx, 0x64
push ebx
mov eax, esi
call fcn.10002bf0
call fcn.10013d30
push 8
push str.down_url
lea esi, [esp + 0x80]
call fcn.10002ff0
call fcn.10013d30
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push ebx
mov eax, esi
mov word [ecx + 4], bx
call fcn.10002bf0
sub esp, 0x1c
mov byte [esp + 0x2d8], 6
mov ecx, esp
mov dword [esp + 0x58], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0x64]
mov word [ecx + 4], bx
call fcn.10002bf0
mov ecx, dword [0x1002364c]
add ecx, 0x40
mov byte [esp + 0x2d8], 5
call fcn.100162d0
call fcn.10013d30
mov eax, dword [0x1002364c]
mov ecx, dword [eax + 0x44]
push 0xffffffffffffffff
push ecx
call edi
call fcn.10013d30
mov edx, dword [0x1002364c]
mov byte [esp + 0x2a0], 1
cmp dword [edx + 0x4c], ebx
jne 0x10014888
cmp dword [esp + 0x74], 8
jb 0x10014819
mov eax, dword [esp + 0x60]
push eax
call fcn.10004382
add esp, 4
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, 2
mov dword [esp + 0x18], eax
jl 0x100146c0
mov dword [0x10023688], 2
mov dword [0x1002368c], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
sub edx, dword [0x10023650]
mov eax, 0x10624dd3
mul edx
shr edx, 6
mov esi, 0x10023680
mov dword [0x10023690], edx
call fcn.10018b90
test eax, eax
je 0x10014877
mov esi, 0x10023680
call fcn.100189d0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call fcn.10005a36
mov edi, 8
cmp dword [esp + 0x74], edi
jb 0x100148a0
mov ecx, dword [esp + 0x60]
push ecx
call fcn.10004382
add esp, 4
mov eax, dword [0x1002364c]
push 0xffffffffffffffff
add eax, 8
push ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
call fcn.10002bf0
mov byte [esp + 0x2a0], 7
call fcn.10013d30
push ebx
lea eax, [esp + 0x28]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x48]
call fcn.10002e60
call fcn.10013d30
push 0x1fe
lea ecx, [esp + 0x9a]
push ebx
push ecx
mov word [esp + 0xa0], bx
call fcn.10007f00
add esp, 0xc
call fcn.10013d30
cmp dword [esp + 0x58], edi
mov ecx, dword [esp + 0x44]
jae 0x10014923
lea ecx, [esp + 0x44]
lea esi, [esp + 0x94]
call fcn.10018e20
call fcn.10013d30
mov edx, dword [0x1002296c]
mov eax, dword [edx + 0xc]
mov ecx, 0x1002296c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x2a0], 8
call fcn.10013d30
mov ecx, esi
push ecx
push 0x1001c458
lea edi, [esp + 0x1c]
call fcn.10003390
add esp, 8
call fcn.10013d30
push 3
push 0x1001c460
lea esi, [esp + 0x80]
call fcn.10002ff0
call fcn.10013d30
mov edx, dword [0x1002296c]
mov eax, dword [edx + 0xc]
mov ecx, 0x1002296c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x2a0], 9
call fcn.10013d30
push ecx
mov ecx, dword [0x1002364c]
mov esi, dword [ecx + 0x40]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
mov dword [esp + 0x24], esp
mov ebp, esp
call eax
cmp dword [esi + 0xc], ebx
lea edx, [esi + 0xc]
jl 0x100149e3
cmp eax, dword [esi]
jne 0x100149e3
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x10014a1f
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
cmp edi, ebx
jne 0x100149fc
jmp fcn.100030f0
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.100045eb
add esp, 0x10
add edi, 0x10
mov dword [ebp], edi
sub esp, 0x1c
mov byte [esp + 0x2c0], 0xa
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0xa0]
lea esi, [esp + 0x40]
mov word [ecx + 4], bx
call fcn.10002bf0
mov ecx, esi
mov byte [esp + 0x2c0], 9
call fcn.100160f0
call fcn.10013d30
mov esi, dword [esp + 0x14]
mov edi, dword [esi - 0xc]
mov edx, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub edx, edi
or ecx, edx
jge 0x10014a92
mov ecx, edi
lea eax, [esp + 0x14]
call fcn.10002da0
mov esi, dword [esp + 0x14]
lea eax, [edi + 1]
push eax
push esi
call fcn.10005c88
add esp, 8
cmp edi, ebx
jl 0x10014cdc
cmp edi, dword [esi - 8]
jg 0x10014cdc
mov ebp, dword [esp + 0x18]
mov dword [esi - 0xc], edi
mov word [esi + edi*2], bx
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub edx, edi
or ecx, edx
jge 0x10014ade
mov ecx, edi
lea eax, [esp + 0x18]
call fcn.10002da0
mov ebp, dword [esp + 0x18]
lea eax, [edi + 1]
push eax
push ebp
call fcn.10005c88
add esp, 8
cmp edi, ebx
jl 0x10014cdc
cmp edi, dword [ebp - 8]
jg 0x10014cdc
mov dword [ebp - 0xc], edi
mov word [ebp + edi*2], bx
mov eax, ebp
mov cx, word [eax]
cmp cx, word [esi]
jne 0x10014b2c
cmp cx, bx
je 0x10014b28
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x10014b2c
add eax, 4
add esi, 4
cmp cx, bx
jne 0x10014b06
xor eax, eax
jmp 0x10014b31
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x10014bcf
mov eax, 0x1001c468
mov edi, edi
mov cx, word [ebp]
cmp cx, word [eax]
jne 0x10014b67
cmp cx, bx
je 0x10014b63
mov cx, word [ebp + 2]
cmp cx, word [eax + 2]
jne 0x10014b67
add ebp, 4
add eax, 4
cmp cx, bx
jne 0x10014b40
xor eax, eax
jmp 0x10014b6c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x10014bcf
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x10014b7f
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.10013d30
mov eax, 2
mov dword [0x10023688], eax
mov dword [0x1002368c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [0x10023650]
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov esi, 0x10023680
mov dword [0x10023690], edx
call fcn.10018b90
test eax, eax
je 0x10014877
jmp 0x1001486d
cmp dword [esp + 0x58], 8
mov edi, dword [esp + 0x44]
jae 0x10014bde
lea edi, [esp + 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push eax
mov eax, edi
call fcn.10018360
mov edx, dword [0x1002364c]
mov edi, 0x64
add esp, 4
mov dword [edx + 0x58], edi
call fcn.10013d30
mov eax, dword [0x1002364c]
mov dword [eax + 0x58], edi
mov dword [0x10023688], 2
mov dword [0x1002368c], ebx
call esi
mov ecx, eax
sub ecx, dword [0x10023650]
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov esi, 0x10023680
mov dword [0x10023690], edx
call fcn.10018b90
test eax, eax
je 0x10014c49
call fcn.100189d0
call fcn.10016760
call fcn.10013d30
mov esi, dword [0x1002364c]
cmp esi, ebx
je 0x10014882
mov eax, dword [esi + 0xed4]
cmp eax, ebx
lea edi, [esi + 0xed4]
je 0x10014c80
mov ecx, dword [esi + 0xec4]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esi + 0xecc]
cmp eax, ebx
je 0x10014c8f
mov ecx, dword [edi]
push ecx
call eax
mov edx, dword [esi + 0xed0]
push edx
mov dword [esi + 0xec8], ebx
mov dword [esi + 0xecc], ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.10013d30
mov esi, dword [0x1002364c]
cmp esi, ebx
mov edi, esi
je 0x10014cc7
call fcn.10015af0
push edi
call fcn.10004382
add esp, 4
call fcn.10013d30
mov dword [0x1002364c], ebx
call fcn.10013d30
jmp 0x10014882
push 0x80070057
call fcn.10002330
int3
push 0xffffffffffffffff
push 0x100195a1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10021138]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push edi
mov eax, dword [0x10021138]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x38], ebx
call fcn.10013d30
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x48]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.10002bf0
mov byte [esp + 0x38], 1
call fcn.10013d30
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x18]
mov ecx, 0x100236cc
call fcn.10002bf0
call fcn.10013d30
cmp dword [0x1002364c], ebx
jne 0x10014de9
push 0xed8
call fcn.10004581
add esp, 4
cmp eax, ebx
je 0x10014d8f
mov esi, eax
call fcn.10015ba0
jmp 0x10014d91
xor eax, eax
mov dword [0x1002364c], eax
call fcn.10013d30
mov ecx, dword [0x1002364c]
push 0xffffffffffffffff
push ebx
add ecx, 8
lea eax, [esp + 0x18]
call fcn.10002bf0
call fcn.10013d30
mov esi, dword [0x1002364c]
push ebx
push 0x1001c550
add esi, 0x24
call fcn.10002ff0
call fcn.10013d30
mov eax, dword [0x1002364c]
mov dword [eax + 0x54], 0x4e47
call fcn.10013d30
call fcn.10016540
call fcn.10013d30
xor esi, esi
jmp 0x10014df0
call fcn.10014170
test eax, eax
jne 0x10014e43
add esi, 1
cmp esi, 1
jle 0x10014df0
cmp dword [0x1002364c], ebx
je 0x10014e3d
call fcn.100159c0
call fcn.10013d30
mov esi, dword [0x1002364c]
cmp esi, ebx
mov edi, esi
je 0x10014e2d
call fcn.10015af0
push edi
call fcn.10004382
add esp, 4
call fcn.10013d30
mov dword [0x1002364c], ebx
call fcn.10013d30
push ebx
call fcn.10005a36
jmp 0x100142e0