Function at 0x10061070
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10156167
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x10200c9c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push edi
mov dword [ebp - 0x9c], ebx
call fcn.10051490
push edi
mov dword [esi], eax
call fcn.10051490
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
cmp dword [edi], 0
jg 0x10061a4c
mov eax, dword [ebx + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xd8], 0x10172dc8
mov dword [ebp - 0xd4], 0x10169e58
mov dword [ebp - 0xd0], 0x10169e58
movups xmmword [ebp - 0xcc], xmm0
mov dword [ebp - 4], 0
mov dword [ebp - 0x90], 0
test eax, eax
je 0x10061255
mov ecx, eax
call fcn.10051490
mov ecx, eax
mov dword [ebp - 0xbc], ecx
mov dword [esi + 0x34], ecx
test ecx, ecx
jne 0x10061193
mov dword [edi], 7
mov dword [ebp - 4], 1
jmp 0x10061a38
cmp dword [edi], 0
jg 0x100611bb
cmp byte [ecx + 0xc8], 0
jne 0x100611bb
mov eax, dword [ecx + 0x20]
cmp byte [eax], 0
je 0x100611bb
push edi
push ecx
mov ecx, dword [esi]
lea eax, [ebp - 0xb8]
push eax
call fcn.10051490
jmp 0x1006120a
push 0x10169e58
mov dword [ebp - 0xb8], 0x10172dc8
mov dword [ebp - 0xb4], 0x10169e58
mov dword [ebp - 0xb0], 0x10169e58
mov dword [ebp - 0xac], 0
call fcn.10051490
add esp, 4
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa0], 0
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xd8]
call fcn.10051490
cmp dword [ebp - 0xac], 0
mov byte [ebp - 4], 2
je 0x10061234
lea ecx, [ebp - 0xb8]
call fcn.10076120
cmp dword [edi], 0
mov byte [ebp - 4], 0
jle 0x10061249
mov dword [ebp - 4], 3
jmp 0x10061a38
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x10061261
mov eax, dword [eax + 4]
jmp 0x10061263
xor eax, eax
mov dword [esi + 0x20], eax
test eax, eax
jle 0x10061866
shl eax, 2
push eax
call fcn.10051490
mov ebx, dword [esi + 0x20]
xor ecx, ecx
mov dword [esi + 0x18], eax
mov edx, 0x1c
mov eax, ebx
mov dword [ebp - 0x88], ebx
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.10051490
add esp, 8
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x100612d7
push 0x10061bf0
push 0x10061030
push dword [ebp - 0x88]
mov dword [eax], ebx
lea ebx, [eax + 4]
push 0x1c
push ebx
call fcn.100e9d0f
jmp 0x100612d9
xor ebx, ebx
mov ecx, dword [esi + 0x18]
mov byte [ebp - 4], 0
mov dword [esi + 0x1c], ebx
test ecx, ecx
je 0x100618cf
test ebx, ebx
je 0x100618cf
mov eax, dword [esi + 0x20]
shl eax, 2
push eax
push 0
push ecx
call fcn.1010ca00
mov eax, dword [esi + 0x20]
add esp, 0xc
xor ebx, ebx
test eax, eax
jle 0x1006141d
mov dword [ebp - 0x84], ebx
nop dword [eax + eax]
mov eax, dword [ebp - 0x9c]
push ebx
mov ecx, dword [eax + 4]
call fcn.10051490
mov ecx, eax
call fcn.10051490
mov ecx, dword [esi + 0x18]
mov dword [ecx + ebx*4], eax
mov eax, dword [esi + 0x18]
mov edx, dword [eax + ebx*4]
test edx, edx
je 0x10061456
cmp dword [edi], 0
jg 0x10061372
cmp byte [edx + 0xc8], 0
jne 0x10061372
mov eax, dword [edx + 0x20]
cmp byte [eax], 0
je 0x10061372
mov ecx, dword [esi]
lea eax, [ebp - 0xb8]
push edi
push edx
push eax
call fcn.10051490
jmp 0x100613c1
push 0x10169e58
mov dword [ebp - 0xb8], 0x10172dc8
mov dword [ebp - 0xb4], 0x10169e58
mov dword [ebp - 0xb0], 0x10169e58
mov dword [ebp - 0xac], 0
call fcn.10051490
add esp, 4
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa0], 0
mov ecx, dword [esi + 0x1c]
lea eax, [ebp - 0xb8]
add ecx, dword [ebp - 0x84]
push eax
call fcn.10051490
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0xac], 0
mov byte [ebp - 4], 7
je 0x100613fa
lea ecx, [ebp - 0xb8]
call fcn.10076120
mov eax, dword [ebp - 0x88]
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.10076270
cmp dword [edi], 0
jg 0x1006144a
add dword [ebp - 0x84], 0x1c
inc ebx
mov eax, dword [esi + 0x20]
cmp ebx, eax
jl 0x10061320
push edi
push eax
push sym.icuuc69.dll_uhash_compareLong_69
push 0x10062160
push 0x10062900
call fcn.10051490
add esp, 0x14
mov dword [esi + 0x24], eax
cmp dword [edi], 0
jle 0x10061468
mov dword [ebp - 4], 9
jmp 0x10061a38
mov dword [ebp - 4], 8
jmp 0x10061a38
mov dword [edi], 7
mov dword [ebp - 4], 6
jmp 0x10061a38
mov eax, dword [esi + 0x20]
shl eax, 2
push eax
call fcn.10051490
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x20]
shl eax, 2
push eax
call fcn.10051490
add esp, 8
mov dword [esi + 0x2c], eax
cmp dword [esi + 0x28], 0
je 0x100618bd
test eax, eax
je 0x100618bd
mov eax, dword [esi + 0x20]
lea ecx, [ebp - 0x77]
xor ebx, ebx
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], 0x64
mov byte [ebp - 0x78], bl
cmp dword [edi], ebx
jg 0x100614ff
cmp eax, 0x64
jle 0x100614ff
push eax
call fcn.10051490
mov ecx, eax
add esp, 4
mov dword [ebp - 0x88], ecx
test ecx, ecx
je 0x100614fc
cmp byte [ebp - 0x78], bl
je 0x100614ea
push dword [ebp - 0x80]
call fcn.10051490
mov ecx, dword [ebp - 0x88]
add esp, 4
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 1
jmp 0x100614ff
mov ecx, dword [ebp - 0x80]
cmp dword [edi], 0
mov byte [ebp - 4], 0xb
jle 0x10061523
cmp byte [ebp - 0x78], 0
je 0x10061517
push ecx
call fcn.10051490
add esp, 4
mov dword [ebp - 4], 0xc
jmp 0x10061a38
mov eax, dword [esi + 0x20]
xor edx, edx
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], edx
test eax, eax
jle 0x100616c9
mov dword [ebp - 0x94], edx
nop word [eax + eax]
mov eax, dword [esi + 0x18]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x98], eax
mov eax, dword [esi + 0x1c]
add eax, dword [ebp - 0x94]
cmp dword [ebp - 0x90], 0
mov dword [ebp - 0x84], eax
jne 0x100615fe
mov edx, dword [ebp - 0x9c]
cmp byte [edx + 0x14], 0
mov edx, dword [ebp - 0x8c]
je 0x1006167e
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x84]
mov byte [ecx + edx], 1
cmp dword [edi], 0
mov dword [ebp - 0x90], eax
jg 0x10061762
push eax
push dword [esi + 0x24]
call fcn.10051490
add esp, 8
test al, al
jne 0x100615f3
push edi
push 0
push dword [ebp - 0x84]
push dword [esi + 0x24]
call fcn.10051490
add esp, 0x10
cmp dword [edi], 0
jg 0x100615f3
mov eax, dword [esi + 0x28]
mov ecx, dword [ebp - 0x84]
mov dword [eax + ebx*4], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax + ebx*4], 0
inc ebx
mov edx, dword [ebp - 0x8c]
jmp 0x100616a4
push dword [ebp - 0x90]
mov ecx, eax
call fcn.10051490
test al, al
je 0x10061678
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x8c]
mov byte [eax + ecx], 1
cmp dword [edi], 0
jg 0x10061762
push dword [ebp - 0x84]
push dword [esi + 0x24]
call fcn.10051490
add esp, 8
test al, al
jne 0x10061670
push edi
push dword [ebp - 0x8c]
push dword [ebp - 0x84]
push dword [esi + 0x24]
call fcn.10051490
add esp, 0x10
cmp dword [edi], 0
jg 0x10061670
mov eax, dword [esi + 0x28]
mov ecx, dword [ebp - 0x84]
mov dword [eax + ebx*4], ecx
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0x8c]
mov dword [eax + ebx*4], ecx
inc ebx
mov edx, dword [ebp - 0x8c]
jmp 0x100616a4
mov eax, dword [ebp - 0x84]
mov ecx, dword [esi + 4]
push eax
call fcn.10051490
mov edx, dword [ebp - 0x8c]
test al, al
mov eax, dword [ebp - 0x80]
je 0x100616a0
inc dword [ebp - 0x88]
mov byte [eax + edx], 2
jmp 0x100616a4
mov byte [eax + edx], 3
cmp dword [edi], 0
jg 0x10061762
add dword [ebp - 0x94], 0x1c
inc edx
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x8c], edx
cmp edx, eax
jl 0x10061550
mov edx, dword [ebp - 0x88]
add edx, ebx
mov dword [ebp - 0x98], edx
xor edx, edx
mov dword [ebp - 0x84], edx
test eax, eax
jle 0x100617a1
mov dword [ebp - 0x88], edx
nop dword [eax]
cmp ebx, dword [ebp - 0x98]
jge 0x100617a1
cmp byte [ecx + edx], 2
jne 0x10061788
mov eax, dword [esi + 0x1c]
add eax, dword [ebp - 0x88]
cmp dword [edi], 0
mov dword [ebp - 0x94], eax
jg 0x10061788
push eax
push dword [esi + 0x24]
call fcn.10051490
add esp, 8
test al, al
jne 0x1006177f
push edi
push dword [ebp - 0x84]
push dword [ebp - 0x94]
push dword [esi + 0x24]
call fcn.10051490
mov edx, dword [ebp - 0x84]
add esp, 0x10
cmp dword [edi], 0
jg 0x10061785
mov eax, dword [esi + 0x28]
mov ecx, dword [ebp - 0x94]
mov dword [eax + ebx*4], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax + ebx*4], edx
inc ebx
jmp 0x10061785
cmp byte [ebp - 0x78], 0
je 0x10061773
push dword [ebp - 0x80]
call fcn.10051490
add esp, 4
mov dword [ebp - 4], 0xd
jmp 0x10061a38
mov edx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x80]
add dword [ebp - 0x88], 0x1c
inc edx
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x84], edx
cmp edx, eax
jl 0x100616f0
xor edx, edx
mov dword [ebp - 0x84], edx
test eax, eax
jle 0x1006184a
xor eax, eax
mov dword [ebp - 0x90], eax
nop dword [eax]
cmp byte [ecx + edx], 3
jne 0x10061831
mov eax, dword [esi + 0x1c]
add eax, dword [ebp - 0x90]
cmp dword [edi], 0
mov dword [ebp - 0x88], eax
jg 0x1006182b
push eax
push dword [esi + 0x24]
call fcn.10051490
add esp, 8
test al, al
jne 0x10061822
push edi
push dword [ebp - 0x84]
push dword [ebp - 0x88]
push dword [esi + 0x24]
call fcn.10051490
mov edx, dword [ebp - 0x84]
add esp, 0x10
cmp dword [edi], 0
jg 0x10061828
mov eax, dword [esi + 0x28]
mov ecx, dword [ebp - 0x88]
mov dword [eax + ebx*4], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax + ebx*4], edx
inc ebx
jmp 0x10061828
mov edx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x90]
inc edx
add eax, 0x1c
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x90], eax
cmp edx, dword [esi + 0x20]
jl 0x100617c0
cmp byte [ebp - 0x78], 0
mov dword [esi + 0x30], ebx
mov byte [ebp - 4], 0
je 0x10061860
push ecx
call fcn.10051490
add esp, 4
mov ebx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xbc]
mov dword [esi + 0x38], eax
cmp dword [ebx + 0xc], 1
jne 0x1006187e
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x34]
mov dword [esi + 0xc], eax
cmp dword [esi + 8], 0
jge 0x10061a31
cmp dword [ebx + 0x20], 0
je 0x10061a28
cmp dword [edi], 0
mov edx, dword [ebx + 0x24]
jg 0x100618e1
cmp byte [edx + 0xc8], 0
jne 0x100618e1
mov eax, dword [edx + 0x20]
cmp byte [eax], 0
je 0x100618e1
mov ecx, dword [esi]
lea eax, [ebp - 0xf4]
push edi
push edx
push eax
call fcn.10051490
jmp 0x10061930
mov dword [edi], 7
mov dword [ebp - 4], 0xa
jmp 0x10061a38
mov dword [edi], 7
mov dword [ebp - 4], 5
jmp 0x10061a38
push 0x10169e58
mov dword [ebp - 0xf4], 0x10172dc8
mov dword [ebp - 0xf0], 0x10169e58
mov dword [ebp - 0xec], 0x10169e58
mov dword [ebp - 0xe8], 0
call fcn.10051490
add esp, 4
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], 7
mov dword [ebp - 0xdc], 0
cmp dword [edi], 0
lea eax, [ebp - 0xf4]
mov edx, dword [ebx + 0x20]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x98], eax
jg 0x1006196b
cmp byte [edx + 0xc8], 0
jne 0x1006196b
mov eax, dword [edx + 0x20]
cmp byte [eax], 0
je 0x1006196b
mov ecx, dword [esi]
lea eax, [ebp - 0xb8]
push edi
push edx
push eax
call fcn.10051490
jmp 0x100619ba
push 0x10169e58
mov dword [ebp - 0xb8], 0x10172dc8
mov dword [ebp - 0xb4], 0x10169e58
mov dword [ebp - 0xb0], 0x10169e58
mov dword [ebp - 0xac], 0
call fcn.10051490
add esp, 4
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa0], 0
push dword [esi + 0x14]
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x98]
push dword [esi + 0x10]
mov byte [ebp - 4], 0xf
push 0x320
push 1
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.10051490
mov ebx, eax
cmp dword [ebp - 0xac], 0
mov byte [ebp - 4], 0x10
je 0x100619fb
lea ecx, [ebp - 0xb8]
call fcn.10076120
cmp dword [edi], 0
jg 0x10061a09
sar ebx, 3
and ebx, 0x7f
inc ebx
jmp 0x10061a0b
xor ebx, ebx
mov byte [ebp - 4], 0x11
mov dword [esi + 8], ebx
cmp dword [ebp - 0xe8], 0
je 0x10061a31
lea ecx, [ebp - 0xf4]
call fcn.10076120
jmp 0x10061a31
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x28]
mov dword [esi + 8], eax
mov dword [ebp - 4], 0x12
cmp dword [ebp - 0xcc], 0
je 0x10061a4c
lea ecx, [ebp - 0xd8]
call fcn.10076120
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e9efb
mov esp, ebp
pop ebp
ret 8