Function at 0x475970
Capabilities:
Check for time delay via gettickcount
Delete file
Get number of processors
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x47a205
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x486534]
xor eax, esp
mov dword [esp + 0x2a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x486534]
xor eax, esp
push eax
lea eax, [esp + 0x2b8]
mov dword fs:[0], eax
call fcn.00447fb0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.00446830
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [0x48a694]
mov dword [ecx + 0x44], eax
mov dword [ecx + 4], 1
push 0x11
mov ebp, 7
push 0x47db50
lea esi, [esp + 0x30]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
call fcn.00402bc0
mov dword [esp + 0x2c0], ebx
push 0x10
push str.BDLogicUtils_url
lea esi, [esp + 0x68]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
call fcn.00402bc0
lea ecx, [esp + 0x28]
mov byte [esp + 0x2c0], 1
call fcn.004787c0
mov eax, dword [0x48a694]
mov ecx, dword [eax + 0x44]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push ecx
call edi
call fcn.00445ac0
mov eax, dword [0x48a694]
cmp dword [eax + 0x48], ebx
je 0x475c07
mov edx, dword [eax + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [0x48a694]
push 0xe
push str.BDMReport.dll
lea esi, [esp + 0x30]
mov dword [eax + 4], 2
call fcn.00402bc0
push 0xd
push str.BDMReport_url
lea esi, [esp + 0x68]
call fcn.00402bc0
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.004027b0
sub esp, 0x1c
mov byte [esp + 0x2f8], 2
mov ecx, esp
mov dword [esp + 0x50], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0x68]
mov word [ecx + 4], bx
call fcn.004027b0
mov ecx, dword [0x48a694]
add ecx, 0x40
mov byte [esp + 0x2f8], 1
call fcn.00478ad0
mov ecx, dword [0x48a694]
mov edx, dword [ecx + 0x44]
push 0xffffffffffffffff
push edx
call edi
call fcn.00444530
mov eax, dword [0x48a694]
cmp dword [eax + 0x48], ebx
je 0x475c07
mov eax, dword [eax + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [0x48a694]
push 0xb
push str.BDMNet.dll
lea esi, [esp + 0x30]
mov dword [ecx + 4], 3
call fcn.00402bc0
push 0xa
push str.BDMNet_url
lea esi, [esp + 0x68]
call fcn.00402bc0
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.004027b0
sub esp, 0x1c
mov byte [esp + 0x2f8], 3
mov ecx, esp
mov dword [esp + 0x50], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0x68]
mov word [ecx + 4], bx
call fcn.004027b0
mov ecx, dword [0x48a694]
add ecx, 0x40
mov byte [esp + 0x2f8], 1
call fcn.00478ad0
mov edx, dword [0x48a694]
mov eax, dword [edx + 0x44]
push 0xffffffffffffffff
push eax
call edi
call fcn.004432e0
mov eax, dword [0x48a694]
cmp dword [eax + 0x48], ebx
je 0x475c07
mov eax, 2
mov dword [0x48a740], eax
mov dword [0x48a744], eax
mov dword [0x48a748], 1
mov dword [0x48a74c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [0x48a698]
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov esi, 0x48a740
mov dword [0x48a750], edx
call fcn.00479810
test eax, eax
je 0x475c07
call fcn.00479650
call fcn.004415f0
mov byte [esp + 0x17], bl
mov dword [esp + 0x18], ebx
call fcn.00440340
mov edx, dword [0x48a694]
mov eax, dword [edx + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [0x48a694]
push 1
push 0x47dc04
lea esi, [esp + 0x30]
mov dword [ecx + 4], 4
call fcn.00402bc0
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0x2c4], 4
call fcn.00473af0
add esp, 4
push ebx
lea eax, [esp + 0x80]
push eax
or eax, 0xffffffff
call fcn.00402a30
push 4
push 0x47dc08
mov ecx, esi
call fcn.00402af0
mov ecx, dword [0x48a694]
push 0xffffffffffffffff
add ecx, 0x64
push ebx
mov eax, esi
call fcn.004027b0
push 8
push str.down_url
lea esi, [esp + 0x68]
call fcn.00402bc0
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.004027b0
sub esp, 0x1c
mov byte [esp + 0x2f8], 5
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 + 0x68]
mov word [ecx + 4], bx
call fcn.004027b0
mov ecx, dword [0x48a694]
add ecx, 0x40
mov byte [esp + 0x2f8], 4
call fcn.00478ad0
mov ecx, dword [0x48a694]
mov edx, dword [ecx + 0x44]
push 0xffffffffffffffff
push edx
call edi
call fcn.0043ed90
mov eax, dword [0x48a694]
cmp dword [eax + 0x4c], ebx
jne 0x475d67
call fcn.0043de40
mov byte [esp + 0x2c0], 1
cmp dword [esp + 0x94], 8
jb 0x475d51
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0040473a
add esp, 4
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, 2
mov dword [esp + 0x18], eax
jl 0x475c14
jmp 0x475d8e
mov byte [esp + 0x2c0], 1
cmp dword [esp + 0x94], 8
mov byte [esp + 0x17], 1
jb 0x475d8e
mov edx, dword [esp + 0x80]
push edx
call fcn.0040473a
add esp, 4
call fcn.00439d10
cmp byte [esp + 0x17], bl
jne 0x475df4
mov dword [0x48a748], 2
mov dword [0x48a74c], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [0x48a698]
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov esi, 0x48a740
mov dword [0x48a750], edx
call fcn.00479810
test eax, eax
je 0x475de3
mov esi, 0x48a740
call fcn.00479650
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call fcn.00405d91
call fcn.0043c4c0
mov eax, dword [0x48a694]
push 0xffffffffffffffff
add eax, 8
push ebx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
call fcn.004027b0
push ebx
lea edx, [esp + 0x2c]
push edx
or eax, 0xffffffff
lea esi, [esp + 0x4c]
mov byte [esp + 0x2c8], 6
call fcn.00402a30
push 0x1fe
lea eax, [esp + 0xba]
push ebx
push eax
mov word [esp + 0xc0], bx
call fcn.004087b0
mov ecx, dword [esp + 0x54]
add esp, 0xc
cmp dword [esp + 0x5c], 8
jae 0x475e61
lea ecx, [esp + 0x48]
lea esi, [esp + 0xb4]
call fcn.00479a50
mov edx, dword [0x487a0c]
mov eax, dword [edx + 0xc]
mov ecx, 0x487a0c
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov ecx, esi
push ecx
push 0x47dc28
lea edi, [esp + 0x28]
mov byte [esp + 0x2c8], 7
call fcn.00402fb0
add esp, 8
push 3
push 0x47dc30
lea esi, [esp + 0xa0]
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], bx
call fcn.00402bc0
mov byte [esp + 0x2c0], 8
mov edx, dword [0x487a0c]
mov eax, dword [edx + 0xc]
mov ecx, 0x487a0c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x2c0], 9
call fcn.0043b0b0
push ecx
mov ecx, dword [0x48a694]
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 + 0x28], esp
mov dword [esp + 0x20], esp
call eax
cmp dword [esi + 0xc], ebx
lea edx, [esi + 0xc]
jl 0x475f2d
cmp eax, dword [esi]
jne 0x475f2d
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x475f69
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 0x475f46
jmp fcn.00402d50
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.004049a3
add esp, 0x10
mov ecx, dword [esp + 0x20]
add edi, 0x10
mov dword [ecx], edi
sub esp, 0x1c
mov byte [esp + 0x2e0], 0xa
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0xc0]
lea esi, [esp + 0x40]
mov word [ecx + 4], bx
call fcn.004027b0
mov ecx, esi
mov byte [esp + 0x2e0], 9
call fcn.004788e0
mov esi, dword [esp + 0x20]
mov ebp, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub eax, ebp
or edx, eax
jge 0x475fd6
mov ecx, ebp
lea eax, [esp + 0x20]
call fcn.00402970
mov esi, dword [esp + 0x20]
lea ecx, [ebp + 1]
push ecx
push esi
call fcn.00406130
add esp, 8
cmp ebp, ebx
jl 0x4761a4
cmp ebp, dword [esi - 8]
jg 0x4761a4
mov edi, dword [esp + 0x18]
mov dword [esi - 0xc], ebp
mov word [esi + ebp*2], bx
mov ebp, dword [edi - 0xc]
mov eax, dword [edi - 8]
mov edx, 1
sub edx, dword [edi - 4]
sub eax, ebp
or edx, eax
jge 0x476022
mov ecx, ebp
lea eax, [esp + 0x18]
call fcn.00402970
mov edi, dword [esp + 0x18]
lea ecx, [ebp + 1]
push ecx
push edi
call fcn.00406130
add esp, 8
cmp ebp, ebx
jl 0x4761a4
cmp ebp, dword [edi - 8]
jg 0x4761a4
mov dword [edi - 0xc], ebp
mov word [edi + ebp*2], bx
mov eax, edi
lea esp, [esp]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x476076
cmp cx, bx
je 0x476072
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x476076
add eax, 4
add esi, 4
cmp cx, bx
jne 0x476050
xor eax, eax
jmp 0x47607b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x476111
mov eax, 0x47dc38
mov cx, word [edi]
cmp cx, word [eax]
jne 0x4760ae
cmp cx, bx
je 0x4760aa
mov cx, word [edi + 2]
cmp cx, word [eax + 2]
jne 0x4760ae
add edi, 4
add eax, 4
cmp cx, bx
jne 0x476088
xor eax, eax
jmp 0x4760b3
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x476111
cmp dword [esp + 0x5c], 8
mov eax, dword [esp + 0x48]
jae 0x4760c6
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 2
mov dword [0x48a748], eax
mov dword [0x48a74c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
sub edx, dword [0x48a698]
mov eax, 0x10624dd3
mul edx
shr edx, 6
mov esi, 0x48a740
mov dword [0x48a750], edx
call fcn.00479810
test eax, eax
je 0x475de3
jmp 0x475dd9
mov eax, dword [0x48a694]
mov dword [eax + 0x58], 0x64
mov dword [0x48a748], 2
mov dword [0x48a74c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [0x48a698]
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov dword [0x48a750], edx
call fcn.00437610
mov esi, 0x48a740
call fcn.00479810
test eax, eax
je 0x476163
call fcn.00479650
call fcn.00478ef0
call fcn.00439090
cmp dword [0x48a694], ebx
je 0x47619a
call fcn.00478140
mov esi, dword [0x48a694]
cmp esi, ebx
mov edi, esi
je 0x476194
call fcn.004782b0
push edi
call fcn.0040473a
add esp, 4
mov dword [0x48a694], ebx
call fcn.004361e0
jmp 0x475dee
push 0x80070057
call fcn.00402030
int3
push 0xffffffffffffffff
push 0x47a27c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x486534]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push edi
mov eax, dword [0x486534]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x38], ebx
call fcn.00434e60
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.004027b0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x18]
mov ecx, 0x48a78c
mov byte [esp + 0x40], 1
call fcn.004027b0
call fcn.00434360
cmp dword [0x48a694], ebx
jne 0x476285
push 0xed8
call fcn.00404939
add esp, 4
cmp eax, ebx
je 0x47624a
mov esi, eax
call fcn.00478360
jmp 0x47624c
xor eax, eax
push 0xffffffffffffffff
mov dword [0x48a694], eax
lea ecx, [eax + 8]
push ebx
lea eax, [esp + 0x18]
call fcn.004027b0
mov esi, dword [0x48a694]
push ebx
push 0x47dc98
add esi, 0x24
call fcn.00402bc0
mov eax, dword [0x48a694]
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x54], ecx
call fcn.00478d50
call fcn.00432d10
call fcn.00475630
test eax, eax
jne 0x4762c6
cmp dword [0x48a694], ebx
je 0x4762c0
call fcn.00478140
mov esi, dword [0x48a694]
cmp esi, ebx
mov edi, esi
je 0x4762ba
call fcn.004782b0
push edi
call fcn.0040473a
add esp, 4
mov dword [0x48a694], ebx
push ebx
call fcn.00405d91
jmp 0x475970