Function at 0x1c6bd90
Capabilities:
Get number of processors
Parse pe header

Disassembly:
push 0xffffffffffffffff
push 0x1d4afd7
mov eax, dword fs:[0]
push eax
sub esp, 0x798
mov eax, dword [0x1d9682c]
xor eax, esp
mov dword [esp + 0x794], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1d9682c]
xor eax, esp
push eax
lea eax, [esp + 0x7ac]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x7c8]
mov esi, dword [esp + 0x7bc]
mov eax, dword [esp + 0x7c4]
mov edx, dword [esp + 0x7cc]
mov ebx, dword [esp + 0x7c0]
mov dword [esp + 0x38], ecx
push esi
lea ecx, [esp + 0x2ac]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], edx
call fcn.01d10100
xor edi, edi
mov dword [esp + 0x7b4], edi
mov ecx, eax
call fcn.01d0f680
push eax
push str.sprof_ts_load_internal_module__hs_d_d_d_n
lea ecx, [esp + 0x1c]
call fcn.01cf9200
mov byte [esp + 0x7b4], 2
lea ecx, [esp + 0x2a8]
call fcn.01d0f660
lea ecx, [esp + 0x34c]
call fcn.01d0fdc0
mov byte [esp + 0x7b4], 3
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x24]
push eax
push ecx
mov ecx, dword [ebx + 0x28]
push esi
lea edx, [esp + 0x70]
lea esi, [esp + 0x358]
call fcn.01c64550
add esp, 0xc
test al, al
je 0x1c6c989
mov ecx, dword [esp + 0x34c]
movzx eax, word [ecx]
mov esi, ecx
cmp ax, di
je 0x1c6beaa
movzx eax, ax
lea esp, [esp]
cmp ax, 0x5c
je 0x1c6be9c
cmp ax, 0x2f
jne 0x1c6be9e
mov esi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
cmp ax, di
jne 0x1c6be90
lea ecx, [esp + 0x3f0]
call fcn.01d0fdc0
mov byte [esp + 0x7b4], 4
add esi, 2
push esi
lea edx, [esp + 0x3f4]
push str.Loading__ls
push edx
call fcn.01d108d0
mov eax, dword [esp + 0x3fc]
push eax
call fcn.01cb8130
mov edx, dword [esp + 0x35c]
add esp, 0x10
push edi
lea ecx, [esp + 0x5a4]
push ecx
push 0x104
push edx
call dword [0x1d7ff90]
lea eax, [esp + 0x5a0]
push eax
lea ecx, [esp + 0x498]
call fcn.01c6a0f0
mov byte [esp + 0x7b4], 5
mov ecx, dword [0x1d98024]
call fcn.01cf9190
mov ecx, dword [0x1d98008]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
xor esi, esi
sar eax, 2
cmp eax, edi
jbe 0x1c6c048
mov ebp, ecx
cmp edi, eax
jb 0x1c6bf4b
call fcn.01d21b13
mov ecx, dword [ebp + 0xc]
mov ebp, dword [ecx + edi*4]
mov eax, dword [ebp]
lea edx, [esp + 0x5a0]
push edx
push eax
call fcn.01d212f2
add esp, 8
test eax, eax
jne 0x1c6bf79
test byte [ebx], 0x63
jne 0x1c6bf77
test byte [ebp + 0x374], 0x63
jne 0x1c6bf79
mov esi, ebp
mov ecx, dword [0x1d98008]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
inc edi
sar eax, 2
cmp edi, eax
jb 0x1c6bf40
test esi, esi
je 0x1c6c048
test dword [esi + 0x36c], 0x2000000
jne 0x1c6c048
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
test ecx, ecx
je 0x1c6bfbe
call fcn.01c65cb0
mov ecx, dword [esp + 0x28]
mov dword [ecx], 0
mov edx, dword [esp + 0x28]
mov dword [edx], esi
inc dword [esi + 0x2c0]
mov eax, dword [ebx + 0x30]
add dword [esi + 0x254], eax
mov ecx, dword [ebx + 0x34]
add dword [esi + 0x258], ecx
mov ecx, dword [esp + 0x38]
push esi
call fcn.01cba550
mov ecx, dword [0x1d98024]
call fcn.01cf91a0
mov byte [esp + 0x7b4], 4
lea ecx, [esp + 0x494]
call fcn.01c66970
mov byte [esp + 0x7b4], 3
lea ecx, [esp + 0x3f0]
call fcn.01d0f660
mov byte [esp + 0x7b4], 2
lea ecx, [esp + 0x34c]
call fcn.01d0f660
mov dword [esp + 0x7b4], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.01cf9270
mov al, 1
jmp 0x1c6ca4d
mov ecx, dword [0x1d98024]
call fcn.01cf91a0
mov edx, dword [0x1d95168]
mov eax, dword [edx]
shr eax, 0x12
test al, 1
je 0x1c6c077
mov ecx, dword [esp + 0x34c]
push ecx
push str.loader_Self_Loading___ls_n
call fcn.01c5dda0
add esp, 8
push 0
call fcn.01c5ea90
mov edx, dword [esp + 0x350]
add esp, 4
push 0
push 0x80
push 3
push 0
push 1
push 0xa0000000
push edx
call fcn.01cae670
mov ebp, eax
or ebx, 0xffffffff
cmp ebp, ebx
jne 0x1c6c0b8
push 1
call fcn.01c5ea90
add esp, 4
jmp 0x1c6c9ff
mov dword [esp + 0x20], ebp
mov byte [esp + 0x7b4], 6
lea eax, [esp + 0x30]
push eax
push 0x40
lea ecx, [esp + 0x540]
push ecx
push ebp
call fcn.01cabeb0
add esp, 0x10
test eax, eax
je 0x1c6c9d8
cmp dword [esp + 0x30], 0x40
jne 0x1c6c9d8
mov edx, 0x5a4d
cmp word [esp + 0x538], dx
jne 0x1c6c9d8
lea ecx, [esp + 0xa8]
call fcn.01c69250
mov byte [esp + 0x7b4], 7
mov edi, dword [esp + 0x24]
test dword [edi + 0x20], 0x100000
mov eax, dword [edi]
mov dword [esp + 0xa8], eax
je 0x1c6c134
mov byte [esp + 0xb4], 1
mov eax, dword [esp + 0x574]
cdq
push edx
push eax
push ebp
call fcn.01ca6600
lea ecx, [esp + 0x3c]
push ecx
push 4
lea edx, [esp + 0x54]
push edx
push ebp
call fcn.01cabeb0
add esp, 0x1c
cmp dword [esp + 0x40], 0x4550
jne 0x1c6c9ad
cmp dword [esp + 0x30], 4
jne 0x1c6c9ad
lea eax, [esp + 0x30]
push eax
push 0x14
lea ecx, [esp + 0xc0]
push ecx
push ebp
call fcn.01cabeb0
movzx esi, word [esp + 0xd8]
add esp, 0x10
cmp esi, 0xe0
jbe 0x1c6c19f
mov esi, 0xe0
push 0xe0
lea edx, [esp + 0xd0]
push 0
push edx
call fcn.01d21b70
lea eax, [esp + 0x3c]
push eax
push esi
lea ecx, [esp + 0xe0]
push ecx
push ebp
call fcn.01cabeb0
add esp, 0x1c
cmp dword [esp + 0x104], 0
jne 0x1c6c1f7
push 1
call fcn.01c5ea90
add esp, 4
mov byte [esp + 0x7b4], 6
lea ecx, [esp + 0xa8]
call fcn.01c65900
jmp 0x1c6c9ed
movzx edx, word [esp + 0xc8]
mov eax, dword [esp + 0x574]
lea ecx, [edx + eax + 0x18]
push 0
push ecx
push ebp
call fcn.01ca6600
xor edx, edx
add esp, 0xc
xor esi, esi
cmp dx, word [esp + 0xba]
jae 0x1c6c25d
lea eax, [esp + 0x30]
push eax
push 0x28
lea ecx, [esp + 0x580]
push ecx
push ebp
call fcn.01cabeb0
add esp, 0x10
lea edx, [esp + 0x578]
push edx
lea ecx, [esp + 0x1b0]
call fcn.01c69a50
movzx eax, word [esp + 0xba]
inc esi
cmp esi, eax
jb 0x1c6c224
push 1
call fcn.01c5ea90
add esp, 4
cmp dword [edi + 0x14], 1
mov dword [esp + 0x18], 0
jne 0x1c6c45b
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx + 8]
mov esi, dword [0x1d7fdb4]
lea edx, [esp + 0x5c]
push edx
push 0x1c
lea ecx, [esp + 0x94]
push ecx
push 0
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1d8], 6
mov dword [0x1d97ddc], eax
call esi
push eax
call dword [0x1d7fe60]
cmp dword [esp + 0xa0], 8
jne 0x1c6c2cf
call esi
push eax
call fcn.01cf0410
add esp, 4
mov edx, dword [esp + 0x18]
push edx
call dword [0x1d7fdb8]
mov ebx, eax
mov eax, dword [esp + 0x94]
add ebx, 0x18
mov ecx, 0x38
mov esi, ebx
lea edi, [esp + 0x1c8]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x20
lea esi, [esp + 0x12c]
lea edi, [esp + 0x228]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp eax, 0x80
je 0x1c6c319
cmp eax, 8
jne 0x1c6c31e
mov esi, 1
lea eax, [esp + 0x60]
push eax
push esi
push 4
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], 0xe0
call fcn.01ce2c80
mov edi, dword [0x1d7fdb4]
add esp, 8
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x54]
push edx
call edi
push eax
call dword [0x1d7ff8c]
test eax, eax
jge 0x1c6c3c9
mov byte [esp + 0x7b4], 6
lea ecx, [esp + 0xa8]
call fcn.01c65900
mov byte [esp + 0x7b4], 5
push ebp
call fcn.01caa3b0
or esi, 0xffffffff
mov dword [esp + 0x20], esi
mov byte [esp + 0x7b4], 4
lea ecx, [esp + 0x494]
call fcn.01c66970
mov byte [esp + 0x7b4], 3
lea ecx, [esp + 0x3f0]
call fcn.01d0f660
mov byte [esp + 0x7b4], 2
lea ecx, [esp + 0x34c]
call fcn.01d0f660
mov dword [esp + 0x7b4], esi
jmp 0x1c6ca42
lea eax, [esp + 0x4c]
push eax
push 0xe0
lea ecx, [esp + 0x1d0]
push ecx
push ebx
call edi
push eax
call dword [0x1d7fdf8]
test eax, eax
jl 0x1c6c358
lea ecx, [esp + 0x74]
call fcn.01cf9be0
mov byte [esp + 0x7b4], 8
mov edx, dword [esp + 0x104]
push 0
push 0
push edx
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0x28]
push esi
push 0
push eax
push eax
call edi
push eax
call fcn.01ce4f50
mov edx, dword [esp + 0x370]
mov eax, dword [esp + 0x3c]
add esp, 0x24
lea ecx, [esp + 0x74]
push ecx
push esi
push edx
push eax
push eax
call edi
push eax
call fcn.01ce5360
add esp, 0x18
mov byte [esp + 0x7b4], 7
lea ecx, [esp + 0x74]
call fcn.01cb9990
jmp 0x1c6c562
push ebp
push 0x1000000
push 2
push 0
push 0
push 0xf
lea eax, [esp + 0x4c]
push eax
call fcn.01ce7700
test eax, eax
jl 0x1c6c1de
mov ecx, dword [esp + 0x34c]
push ecx
lea edx, [esp + 0x6c]
push edx
call dword [0x1d7ff88]
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x14]
mov ecx, dword fs:[0x18]
mov esi, dword [0x1d7fdb4]
xor eax, eax
push 0x20
push eax
push 2
lea edx, [esp + 0x74]
mov dword [ecx + 0x14], edx
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x64]
push edx
push eax
push eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
call esi
mov ecx, dword [esp + 0x54]
push eax
push ecx
call fcn.01ce6350
test eax, eax
jl 0x1c6c1de
mov edx, dword [esp + 0x24]
test byte [edx], 0x62
jne 0x1c6c531
mov eax, dword [esp + 0x18]
push 0
push eax
call esi
push eax
call fcn.01cf18b0
add esp, 0xc
test eax, eax
jge 0x1c6c531
mov byte [esp + 0x7b4], 6
lea ecx, [esp + 0xa8]
call fcn.01c65900
mov byte [esp + 0x7b4], 5
lea ecx, [esp + 0x20]
call fcn.01c61740
jmp 0x1c6c9ff
mov ecx, dword [esp + 0x34]
push ecx
call fcn.01caa3b0
mov edx, dword fs:[0x18]
mov dword [edx + 0x14], edi
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x3c]
add eax, ecx
push 1
add eax, 0xc8
push eax
push ecx
call esi
push eax
call fcn.01ce2cd0
add esp, 0x10
mov dword [esp + 0x2c], 0
mov byte [esp + 0x7b4], 9
mov ecx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.01c61760
mov ebx, dword [esp + 0x38]
add esp, 0xc
test al, al
jne 0x1c6c5dd
push 0x3d4
call fcn.01c5d940
add esp, 4
mov dword [esp + 0x4c], eax
mov byte [esp + 0x7b4], 0xa
mov edi, dword [esp + 0x24]
test eax, eax
je 0x1c6c5cf
mov edx, dword [edi + 0x34]
mov ecx, dword [edi + 0x30]
push edx
mov edx, dword [esp + 0x1c]
push ecx
push edx
mov ecx, eax
call fcn.01c692b0
mov byte [esp + 0x7b4], 9
mov esi, eax
jmp 0x1c6c5f5
xor eax, eax
mov byte [esp + 0x7b4], 9
mov esi, eax
jmp 0x1c6c5f5
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x30]
mov dword [ebx + 0x254], eax
mov ecx, dword [edi + 0x34]
mov esi, ebx
mov dword [ebx + 0x258], ecx
mov edx, dword [edi + 0x28]
push edx
lea ecx, [esi + 0x2c8]
mov dword [esp + 0x20], esi
call fcn.01c512f0
mov eax, dword [edi + 0x20]
or dword [esi + 0x36c], eax
mov ecx, dword [edi]
mov dword [esi + 0x374], ecx
mov edx, dword [edi + 0x1c]
mov dword [esi + 0x378], edx
mov eax, dword [esp + 0x104]
lea ecx, [esp + 0x1ac]
push ecx
mov dword [esi + 0x2c4], eax
lea ecx, [esi + 0x1f8]
mov dword [esi + 0x37c], 6
call fcn.01c68c50
mov dword [esi + 0x388], ebp
mov ebp, 1
mov dword [esp + 0x20], 0xffffffff
cmp dword [edi + 0x10], ebp
jne 0x1c6c66e
or dword [esi + 0x36c], 0x40000
cmp dword [edi + 8], ebp
jne 0x1c6c67a
or dword [esi + 0x36c], 2
cmp dword [edi + 0xc], 0
jne 0x1c6c68a
or dword [esi + 0x36c], 0x4000
lea edx, [esp + 0x5a0]
push edx
mov ecx, esi
call fcn.01c5e8a0
push esi
call fcn.01c5f410
mov ecx, dword [esp + 0x2c]
add esp, 4
push esi
call fcn.01c5e670
cmp dword [esp + 0x1c4], ebp
je 0x1c6c822
mov dword [esp + 0x1c], 0
mov ecx, dword [0x1d98024]
inc dword [esp + 0x1c]
xor ebp, ebp
mov dword [esp + 0x34], ebp
call fcn.01cf9190
mov ecx, dword [0x1d98008]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
xor edi, edi
sar eax, 2
cmp eax, ebp
jbe 0x1c6c86f
nop
mov ebx, ecx
cmp ebp, eax
jb 0x1c6c6fb
call fcn.01d21b13
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + ebp*4]
mov eax, dword [esi]
mov ecx, dword [ebx]
push eax
push ecx
call fcn.01d212f2
add esp, 8
test eax, eax
jne 0x1c6c727
mov ecx, dword [esp + 0x24]
test byte [ecx], 0x63
jne 0x1c6c725
test byte [ebx + 0x374], 0x63
jne 0x1c6c727
mov edi, ebx
mov ecx, dword [0x1d98008]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
inc ebp
sar eax, 2
cmp ebp, eax
jb 0x1c6c6f0
test edi, edi
je 0x1c6c86f
cmp dword [edi + 0x258], 0
jg 0x1c6c762
cmp dword [edi + 0x254], 0
jg 0x1c6c762
mov dword [esp + 0x34], 1
jmp 0x1c6c7f5
mov edx, dword [0x1d95168]
mov eax, dword [edx]
mov ecx, eax
shr ecx, 0x12
test cl, 1
jne 0x1c6c77b
shr eax, 3
test al, 1
je 0x1c6c795
lea edx, [esp + 0x5a0]
push edx
push str.after_loading_DLL__ls__already_found_in_memory__loaded_by_another_thread_simutaneously___n
call fcn.01c5dda0
add esp, 8
call fcn.01c67bb0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
test ecx, ecx
je 0x1c6c7ae
call fcn.01c65cb0
mov ecx, dword [esp + 0x28]
mov dword [ecx], 0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov dword [edx], edi
inc dword [edi + 0x2c0]
mov ecx, dword [eax + 0x30]
add dword [edi + 0x254], ecx
mov edx, dword [eax + 0x34]
mov ecx, dword [esp + 0x38]
add dword [edi + 0x258], edx
push edi
call fcn.01cba550
push esi
call fcn.01c5ea50
add esp, 4
mov ecx, esi
call fcn.01c652c0
push esi
call fcn.01c5d9e0
add esp, 4
xor esi, esi
mov ecx, dword [0x1d98024]
call fcn.01cf91a0
cmp dword [esp + 0x34], 0
je 0x1c6c81a
push 0xa
call dword [0x1d7fd68]
cmp dword [esp + 0x1c], 0x64
jl 0x1c6c6c1
mov dword [esp + 0x1c], esi
mov ebx, dword [esp + 0x2c]
test esi, esi
je 0x1c6c83b
mov ecx, dword [0x1d95168]
mov edx, dword [ecx]
shr edx, 0x12
test dl, 1
je 0x1c6c83b
call fcn.01c67bb0
mov byte [esp + 0x7b4], 7
test ebx, ebx
je 0x1c6c856
mov ecx, ebx
call fcn.01c65cb0
mov dword [esp + 0x2c], 0
mov byte [esp + 0x7b4], 6
lea ecx, [esp + 0x1ac]
call fcn.01cb9990
jmp 0x1c6bff1
push 2
push esi
mov dword [esp + 0x24], esi
call fcn.01cd2070
add esp, 8
test byte [esi + 0x374], 0x62
jne 0x1c6c899
mov eax, dword [esi]
push eax
mov eax, dword [esi + 0x1f4]
push eax
call fcn.01cbaed0
add esp, 8
call dword [0x1d7fd98]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [0x1d98008]
mov dword [esi + 0x264], eax
call fcn.01c69af0
mov ecx, esi
call fcn.01cb94f0
mov ecx, dword [0x1d98024]
call fcn.01cf91a0
test byte [esi + 0x374], 0x63
jne 0x1c6c8f2
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
push 0
push edx
push eax
push esi
call fcn.01d00c70
add esp, 0x10
test al, al
je 0x1c6c901
push esi
call fcn.01c643f0
add esp, 4
mov ecx, dword [esp + 0x38]
push esi
call fcn.01cba550
jmp 0x1c6c81e
call dword [0x1d7fd78]
mov edi, eax
mov dword [esp + 0x70], edi
mov byte [esp + 0x7b4], 0xb
mov esi, dword [esi + 0x1f4]
push esi
call fcn.01c6ae20
mov byte [esp + 0x7b4], 9
push edi
call dword [0x1d7fde0]
mov byte [esp + 0x7b4], 7
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x1c6c94d
call fcn.01c65cb0
mov dword [esp + 0x2c], 0
mov byte [esp + 0x7b4], 6
lea ecx, [esp + 0xa8]
call fcn.01c65900
mov byte [esp + 0x7b4], 4
lea ecx, [esp + 0x494]
call fcn.01c66970
mov byte [esp + 0x7b4], 3
lea ecx, [esp + 0x3f0]
call fcn.01d0f660
mov byte [esp + 0x7b4], 2
lea ecx, [esp + 0x34c]
call fcn.01d0f660
mov dword [esp + 0x7b4], 0xffffffff
jmp 0x1c6ca42
push 1
call fcn.01c5ea90
add esp, 4
push 0xc1
call dword [0x1d7fde0]
mov byte [esp + 0x7b4], 6
lea ecx, [esp + 0xa8]
call fcn.01c65900
jmp 0x1c6c9ed
push 1
call fcn.01c5ea90
add esp, 4
push 0xc1
call dword [0x1d7fde0]
mov byte [esp + 0x7b4], 5
push ebp
call fcn.01caa3b0
mov dword [esp + 0x20], ebx
mov byte [esp + 0x7b4], 4
lea ecx, [esp + 0x494]
call fcn.01c66970
mov byte [esp + 0x7b4], 3
lea ecx, [esp + 0x3f0]
call fcn.01d0f660
mov byte [esp + 0x7b4], 2
lea ecx, [esp + 0x34c]
call fcn.01d0f660
mov dword [esp + 0x7b4], ebx
lea ecx, [esp + 0x14]
call fcn.01cf9270
xor al, al
mov ecx, dword [esp + 0x7ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x794]
xor ecx, esp
call fcn.01d20f6a
add esp, 0x7a4
ret