Function at 0x85c230
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x948557
mov eax, dword fs:[0]
push eax
sub esp, 0x79c
mov eax, dword [0x99986c]
xor eax, esp
mov dword [esp + 0x798], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x99986c]
xor eax, esp
push eax
lea eax, [esp + 0x7b0]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x7cc]
mov esi, dword [esp + 0x7c0]
mov eax, dword [esp + 0x7c8]
mov edx, dword [esp + 0x7d0]
mov edi, dword [esp + 0x7c4]
mov dword [esp + 0x44], ecx
push esi
lea ecx, [esp + 0x2b0]
mov dword [esp + 0x44], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], edx
call fcn.0090a360
xor ebx, ebx
mov dword [esp + 0x7b8], ebx
mov ecx, eax
call fcn.009098e0
push eax
push str.sprof_ts_load_internal_module__hs_d_d_d_n
lea ecx, [esp + 0x20]
call fcn.008efbd0
mov byte [esp + 0x7b8], 2
lea ecx, [esp + 0x2ac]
call fcn.009098c0
lea ecx, [esp + 0x350]
call fcn.0090a020
mov byte [esp + 0x7b8], 3
mov eax, dword [edi]
mov ecx, dword [edi + 0x24]
push eax
push ecx
mov ecx, dword [edi + 0x28]
push esi
lea edx, [esp + 0x70]
lea esi, [esp + 0x35c]
mov byte [esp + 0x2f], bl
call fcn.00854950
add esp, 0xc
test al, al
je 0x85c9f5
mov ecx, dword [esp + 0x350]
movzx eax, word [ecx]
mov esi, ecx
cmp ax, bx
je 0x85c34a
movzx eax, ax
cmp ax, 0x5c
je 0x85c33c
cmp ax, 0x2f
jne 0x85c33e
mov esi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
cmp ax, bx
jne 0x85c330
lea ecx, [esp + 0x3f4]
call fcn.0090a020
mov byte [esp + 0x7b8], 4
add esi, 2
push esi
lea edx, [esp + 0x3f8]
push str.Loading__ls
push edx
call fcn.0090ab30
mov eax, dword [esp + 0x400]
push eax
call fcn.008a92d0
mov edx, dword [esp + 0x360]
add esp, 0x10
push ebx
lea ecx, [esp + 0x5a8]
push ecx
push 0x104
push edx
call dword [0x982488]
lea eax, [esp + 0x5a4]
push eax
lea ecx, [esp + 0x49c]
call fcn.0085a2c0
mov byte [esp + 0x7b8], 5
mov ecx, dword [0x99b0a4]
call fcn.008efb60
mov ecx, dword [0x99b088]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
xor esi, esi
sar eax, 2
cmp eax, ebx
jbe 0x85c4e8
mov ebp, ecx
cmp ebx, eax
jb 0x85c3eb
call fcn.0091bc53
mov ecx, dword [ebp + 0xc]
mov ebp, dword [ecx + ebx*4]
mov eax, dword [ebp]
lea edx, [esp + 0x5a4]
push edx
push eax
call fcn.0091b432
add esp, 8
test eax, eax
jne 0x85c419
test byte [edi], 0x63
jne 0x85c417
test byte [ebp + 0x374], 0x63
jne 0x85c419
mov esi, ebp
mov ecx, dword [0x99b088]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x85c3e0
test esi, esi
je 0x85c4e8
test dword [esi + 0x36c], 0x2000000
jne 0x85c4e8
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
test ecx, ecx
je 0x85c45e
call fcn.008563b0
mov ecx, dword [esp + 0x2c]
mov dword [ecx], 0
mov edx, dword [esp + 0x2c]
mov dword [edx], esi
inc dword [esi + 0x2c0]
mov eax, dword [edi + 0x30]
add dword [esi + 0x254], eax
mov ecx, dword [edi + 0x34]
add dword [esi + 0x258], ecx
mov ecx, dword [esp + 0x44]
push esi
call fcn.008ab4f0
mov ecx, dword [0x99b0a4]
call fcn.008efb70
mov byte [esp + 0x7b8], 4
lea ecx, [esp + 0x498]
call fcn.00856da0
mov byte [esp + 0x7b8], 3
lea ecx, [esp + 0x3f4]
call fcn.009098c0
mov byte [esp + 0x7b8], 2
lea ecx, [esp + 0x350]
call fcn.009098c0
mov dword [esp + 0x7b8], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.008efc40
mov al, 1
jmp 0x85cefd
mov ecx, dword [0x99b0a4]
call fcn.008efb70
mov edx, dword [0x998168]
mov eax, dword [edx]
shr eax, 0x12
test al, 1
je 0x85c517
mov ecx, dword [esp + 0x350]
push ecx
push str.loader_Self_Loading___ls_n
call fcn.0084e0d0
add esp, 8
xor ebx, ebx
push ebx
call fcn.0084ee70
mov edx, dword [esp + 0x354]
add esp, 4
push ebx
push 0x80
push 3
push ebx
push 1
push 0xa0000000
push edx
call fcn.0086f460
mov ebp, eax
or esi, 0xffffffff
cmp ebp, esi
jne 0x85c557
push 1
call fcn.0084ee70
add esp, 4
jmp 0x85ceaf
mov dword [esp + 0x28], ebp
mov byte [esp + 0x7b8], 6
lea eax, [esp + 0x3c]
push eax
push 0x40
lea ecx, [esp + 0x544]
push ecx
push ebp
call fcn.0086cbd0
add esp, 0x10
test eax, eax
je 0x85ce88
cmp dword [esp + 0x3c], 0x40
jne 0x85ce88
mov edx, 0x5a4d
cmp word [esp + 0x53c], dx
jne 0x85ce88
lea ecx, [esp + 0xb0]
call fcn.00859460
mov byte [esp + 0x7b8], 7
test dword [edi + 0x20], 0x100000
mov eax, dword [edi]
mov dword [esp + 0xb0], eax
je 0x85c5cf
mov byte [esp + 0xbc], 1
mov eax, dword [esp + 0x578]
cdq
push edx
push eax
push ebp
call fcn.008673f0
lea ecx, [esp + 0x48]
push ecx
push 4
lea edx, [esp + 0x5c]
push edx
push ebp
call fcn.0086cbd0
add esp, 0x1c
cmp dword [esp + 0x48], 0x4550
jne 0x85ce5d
cmp dword [esp + 0x3c], 4
jne 0x85ce5d
lea eax, [esp + 0x3c]
push eax
push 0x14
lea ecx, [esp + 0xc8]
push ecx
push ebp
call fcn.0086cbd0
movzx esi, word [esp + 0xe0]
add esp, 0x10
cmp esi, 0xe0
jbe 0x85c63a
mov esi, 0xe0
push 0xe0
lea edx, [esp + 0xd8]
push ebx
push edx
call fcn.0091bcb0
lea eax, [esp + 0x48]
push eax
push esi
lea ecx, [esp + 0xe8]
push ecx
push ebp
call fcn.0086cbd0
add esp, 0x1c
cmp dword [esp + 0x10c], ebx
jne 0x85c6a1
push 1
call fcn.0084ee70
add esp, 4
mov byte [esp + 0x7b8], 6
lea ecx, [esp + 0xb0]
call fcn.00856000
mov byte [esp + 0x7b8], 5
push ebp
call fcn.0086b0d0
or esi, 0xffffffff
jmp 0x85ceab
movzx edx, word [esp + 0xd0]
mov eax, dword [esp + 0x578]
lea ecx, [edx + eax + 0x18]
push ebx
push ecx
push ebp
call fcn.008673f0
xor edx, edx
add esp, 0xc
xor esi, esi
cmp dx, word [esp + 0xc2]
jae 0x85c709
lea ecx, [ecx]
lea eax, [esp + 0x3c]
push eax
push 0x28
lea ecx, [esp + 0x584]
push ecx
push ebp
call fcn.0086cbd0
add esp, 0x10
lea edx, [esp + 0x57c]
push edx
lea ecx, [esp + 0x1b8]
call fcn.00859c60
movzx eax, word [esp + 0xc2]
inc esi
cmp esi, eax
jb 0x85c6d0
push 1
call fcn.0084ee70
add esp, 4
cmp dword [edi + 0x14], 1
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x17], 0
jne 0x85c88e
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx + 8]
mov ebx, dword [0x9822a0]
lea edx, [esp + 0x6c]
push edx
push 0x1c
lea ecx, [esp + 0x9c]
push ecx
push 0
push eax
mov dword [esp + 0x30], eax
mov dword [0x99ae5c], eax
call ebx
push eax
call dword [0x982348]
cmp dword [esp + 0xa8], 8
jne 0x85c771
call ebx
push eax
call fcn.008e6b20
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
call dword [0x9822a4]
add eax, 0x18
mov esi, eax
mov ecx, 0x38
lea edi, [esp + 0x1cc]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x20
lea esi, [esp + 0x134]
lea edi, [esp + 0x22c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x9c]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp eax, 0x80
je 0x85c7bd
cmp eax, 8
jne 0x85c7c2
mov esi, 1
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x68]
push eax
push esi
push 4
mov dword [esp + 0x68], edi
mov dword [esp + 0x5c], 0xe0
call fcn.008d8400
add esp, 8
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x68]
push edx
call ebx
push eax
call dword [0x982484]
test eax, eax
jl 0x85c677
lea eax, [esp + 0x60]
push eax
push 0xe0
lea ecx, [esp + 0x1d4]
push ecx
push edi
call ebx
push eax
call dword [0x9822e0]
test eax, eax
jl 0x85c677
lea ecx, [esp + 0x7c]
call fcn.008f06a0
mov byte [esp + 0x7b8], 8
mov edx, dword [esp + 0x10c]
push 0
push edx
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x28]
push esi
push 0
push eax
push eax
call ebx
push eax
call fcn.008daba0
mov edx, dword [esp + 0x370]
mov eax, dword [esp + 0x3c]
add esp, 0x20
lea ecx, [esp + 0x7c]
push ecx
push esi
push edx
push eax
push eax
call ebx
push eax
call fcn.008db490
add esp, 0x18
mov byte [esp + 0x7b8], 7
lea ecx, [esp + 0x7c]
call fcn.009343d0
jmp 0x85ca38
push ebp
push 0x1000000
push 2
push ebx
push ebx
push 0xf
lea eax, [esp + 0x50]
push eax
call fcn.008dd7f0
cmp eax, ebx
jge 0x85c8d0
test byte [edi], 0x62
je 0x85c8c8
push ebp
push 0x8000000
push 2
push ebx
push ebx
push 0xf
lea ecx, [esp + 0x50]
push ecx
call fcn.008dd7f0
mov byte [esp + 0x17], 1
cmp eax, ebx
jl 0x85c677
mov edx, dword [esp + 0x350]
push edx
lea eax, [esp + 0x74]
push eax
call dword [0x982480]
cmp byte [esp + 0x17], 0
mov ecx, dword fs:[0x18]
mov edx, dword fs:[0x18]
mov esi, dword [ecx + 0x14]
lea eax, [esp + 0x70]
mov dword [edx + 0x14], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x1c], ebx
mov ebx, dword [0x9822a0]
je 0x85c93b
push 2
push 0
push 2
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x64]
push edx
push 0
push 0
lea eax, [esp + 0x38]
push eax
call ebx
mov ecx, dword [esp + 0x58]
push eax
push ecx
jmp 0x85c95c
push 0x20
push 0
push 2
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x64]
push eax
push 0
push 0
lea ecx, [esp + 0x38]
push ecx
call ebx
mov edx, dword [esp + 0x58]
push eax
push edx
call fcn.008dc480
test eax, eax
jge 0x85c974
mov eax, dword [esp + 0x38]
push eax
call fcn.0086b0d0
jmp 0x85c677
cmp byte [esp + 0x17], 0
jne 0x85ca19
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x27]
push ecx
push edx
call ebx
push eax
call fcn.008e7fa0
add esp, 0x10
test eax, eax
jge 0x85ca1d
mov eax, dword [esp + 0x38]
push eax
call fcn.0086b0d0
mov byte [esp + 0x7b8], 6
lea ecx, [esp + 0xb0]
call fcn.00856000
mov byte [esp + 0x7b8], 5
lea ecx, [esp + 0x28]
call fcn.0084ea70
mov byte [esp + 0x7b8], 4
lea ecx, [esp + 0x498]
call fcn.00856da0
mov byte [esp + 0x7b8], 3
lea ecx, [esp + 0x3f4]
call fcn.009098c0
mov byte [esp + 0x7b8], 2
lea ecx, [esp + 0x350]
call fcn.009098c0
mov dword [esp + 0x7b8], 0xffffffff
jmp 0x85cef2
inc dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0086b0d0
cmp byte [esp + 0x17], 0
mov edx, dword fs:[0x18]
mov dword [edx + 0x14], esi
jne 0x85ca55
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x3c]
add eax, ecx
push 1
add eax, 0xc8
push eax
push ecx
call ebx
push eax
call fcn.008d8450
add esp, 0x10
mov dword [esp + 0x34], 0
mov byte [esp + 0x7b8], 9
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x38]
push eax
push ecx
call fcn.00851c80
mov esi, dword [esp + 0x40]
add esp, 0xc
test al, al
jne 0x85cad0
push 0x3d4
call fcn.0084dc90
add esp, 4
mov dword [esp + 0x60], eax
mov byte [esp + 0x7b8], 0xa
mov edi, dword [esp + 0x40]
test eax, eax
je 0x85cac2
mov edx, dword [edi + 0x34]
mov ecx, dword [edi + 0x30]
push edx
mov edx, dword [esp + 0x20]
push ecx
push edx
mov ecx, eax
call fcn.008594c0
mov byte [esp + 0x7b8], 9
mov esi, eax
jmp 0x85cae6
xor eax, eax
mov byte [esp + 0x7b8], 9
mov esi, eax
jmp 0x85cae6
mov edi, dword [esp + 0x40]
mov eax, dword [edi + 0x30]
mov dword [esi + 0x254], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x258], ecx
mov edx, dword [edi + 0x28]
push edx
lea ecx, [esi + 0x2c8]
mov dword [esp + 0x28], esi
call fcn.008412f0
mov eax, dword [edi + 0x20]
or dword [esi + 0x36c], eax
mov ecx, dword [edi]
mov dword [esi + 0x374], ecx
cmp byte [esp + 0x23], 0
mov ebx, 1
je 0x85cb1c
or dword [esi + 0x374], ebx
mov edx, dword [edi + 0x1c]
mov dword [esi + 0x378], edx
mov eax, dword [esp + 0x10c]
lea ecx, [esp + 0x1b4]
push ecx
mov dword [esi + 0x2c4], eax
lea ecx, [esi + 0x1f8]
mov dword [esi + 0x37c], 6
call fcn.00858ef0
mov dword [esi + 0x388], ebp
mov dword [esp + 0x28], 0xffffffff
cmp dword [edi + 0x10], ebx
jne 0x85cb6c
or dword [esi + 0x36c], 0x40000
cmp dword [edi + 8], ebx
jne 0x85cb78
or dword [esi + 0x36c], 2
cmp dword [edi + 0xc], 0
jne 0x85cb88
or dword [esi + 0x36c], 0x4000
lea edx, [esp + 0x5a4]
push edx
mov ecx, esi
call fcn.0084ecb0
cmp byte [esp + 0x17], 0
jne 0x85cba7
push esi
call fcn.0084f7f0
add esp, 4
mov ecx, dword [esp + 0x2c]
push esi
call fcn.0084ea90
mov dword [esp + 0x24], 0
lea esp, [esp]
mov ecx, dword [0x99b0a4]
inc dword [esp + 0x24]
xor ebp, ebp
mov dword [esp + 0x30], ebp
call fcn.008efb60
mov ecx, dword [0x99b088]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
xor edi, edi
sar eax, 2
cmp eax, ebp
jbe 0x85cd6d
mov edi, edi
mov ebx, ecx
cmp ebp, eax
jb 0x85cbfb
call fcn.0091bc53
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.0091b432
add esp, 8
test eax, eax
jne 0x85cc27
mov ecx, dword [esp + 0x40]
test byte [ecx], 0x63
jne 0x85cc25
test byte [ebx + 0x374], 0x63
jne 0x85cc27
mov edi, ebx
mov ecx, dword [0x99b088]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
inc ebp
sar eax, 2
cmp ebp, eax
jb 0x85cbf0
test edi, edi
je 0x85cd6d
cmp dword [edi + 0x258], 0
jg 0x85cc62
cmp dword [edi + 0x254], 0
jg 0x85cc62
mov dword [esp + 0x30], 1
jmp 0x85ccf5
mov edx, dword [0x998168]
mov eax, dword [edx]
mov ecx, eax
shr ecx, 0x12
test cl, 1
jne 0x85cc7b
shr eax, 3
test al, 1
je 0x85cc95
lea edx, [esp + 0x5a4]
push edx
push str.after_loading_DLL__ls__already_found_in_memory__loaded_by_another_thread_simutaneously___n
call fcn.0084e0d0
add esp, 8
call fcn.00858130
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
test ecx, ecx
je 0x85ccae
call fcn.008563b0
mov ecx, dword [esp + 0x2c]
mov dword [ecx], 0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
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 + 0x44]
add dword [edi + 0x258], edx
push edi
call fcn.008ab4f0
push esi
call fcn.0084ee30
add esp, 4
mov ecx, esi
call fcn.008558f0
push esi
call fcn.0084dd20
add esp, 4
xor esi, esi
mov ecx, dword [0x99b0a4]
call fcn.008efb70
cmp dword [esp + 0x30], 0
je 0x85cd1a
push 0xa
call dword [0x982248]
cmp dword [esp + 0x24], 0x64
jl 0x85cbc0
mov dword [esp + 0x24], esi
test esi, esi
je 0x85cd37
mov ecx, dword [0x998168]
mov edx, dword [ecx]
shr edx, 0x12
test dl, 1
je 0x85cd37
call fcn.00858130
mov byte [esp + 0x7b8], 7
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x85cd54
call fcn.008563b0
mov dword [esp + 0x34], 0
mov byte [esp + 0x7b8], 6
lea ecx, [esp + 0x1b4]
call fcn.009343d0
jmp 0x85c491
push 2
push esi
mov dword [esp + 0x2c], esi
call fcn.008c4a40
add esp, 8
test byte [esi + 0x374], 0x62
jne 0x85cd97
mov eax, dword [esi]
push eax
mov eax, dword [esi + 0x1f4]
push eax
call fcn.008abe70
add esp, 8
call dword [0x982280]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [0x99b088]
mov dword [esi + 0x264], eax
call fcn.008bcf80
mov ecx, dword [0x99b0a4]
call fcn.008efb70
test byte [esi + 0x374], 0x63
jne 0x85cde9
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
push 0
push edx
push eax
push esi
call fcn.008fc370
add esp, 0x10
test al, al
je 0x85cdf8
push esi
call fcn.008547f0
add esp, 4
mov ecx, dword [esp + 0x44]
push esi
call fcn.008ab4f0
jmp 0x85cd1e
call dword [0x982264]
mov edi, eax
mov dword [esp + 0x78], edi
mov byte [esp + 0x7b8], 0xb
mov esi, dword [esi + 0x1f4]
push esi
call fcn.0085b060
mov byte [esp + 0x7b8], 9
push edi
call dword [0x9822c8]
mov byte [esp + 0x7b8], 7
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x85ce44
call fcn.008563b0
mov dword [esp + 0x34], 0
mov byte [esp + 0x7b8], 6
lea ecx, [esp + 0xb0]
call fcn.00856000
jmp 0x85c9cd
push 1
call fcn.0084ee70
add esp, 4
push 0xc1
call dword [0x9822c8]
mov byte [esp + 0x7b8], 6
lea ecx, [esp + 0xb0]
call fcn.00856000
jmp 0x85ce9d
push 1
call fcn.0084ee70
add esp, 4
push 0xc1
call dword [0x9822c8]
mov byte [esp + 0x7b8], 5
push ebp
call fcn.0086b0d0
mov dword [esp + 0x28], esi
mov byte [esp + 0x7b8], 4
lea ecx, [esp + 0x498]
call fcn.00856da0
mov byte [esp + 0x7b8], 3
lea ecx, [esp + 0x3f4]
call fcn.009098c0
mov byte [esp + 0x7b8], 2
lea ecx, [esp + 0x350]
call fcn.009098c0
mov dword [esp + 0x7b8], esi
lea ecx, [esp + 0x18]
call fcn.008efc40
xor al, al
mov ecx, dword [esp + 0x7b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x798]
xor ecx, esp
call fcn.0091b0aa
add esp, 0x7a8
ret