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

Disassembly:
push 0xffffffffffffffff
push 0x3a2afd7
mov eax, dword fs:[0]
push eax
sub esp, 0x798
mov eax, dword [0x3a7682c]
xor eax, esp
mov dword [esp + 0x794], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3a7682c]
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.039f0100
xor edi, edi
mov dword [esp + 0x7b4], edi
mov ecx, eax
call fcn.039ef680
push eax
push str.sprof_ts_load_internal_module__hs_d_d_d_n
lea ecx, [esp + 0x1c]
call fcn.039d9200
mov byte [esp + 0x7b4], 2
lea ecx, [esp + 0x2a8]
call fcn.039ef660
lea ecx, [esp + 0x34c]
call fcn.039efdc0
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.03944550
add esp, 0xc
test al, al
je 0x394c989
mov ecx, dword [esp + 0x34c]
movzx eax, word [ecx]
mov esi, ecx
cmp ax, di
je 0x394beaa
movzx eax, ax
lea esp, [esp]
cmp ax, 0x5c
je 0x394be9c
cmp ax, 0x2f
jne 0x394be9e
mov esi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
cmp ax, di
jne 0x394be90
lea ecx, [esp + 0x3f0]
call fcn.039efdc0
mov byte [esp + 0x7b4], 4
add esi, 2
push esi
lea edx, [esp + 0x3f4]
push str.Loading__ls
push edx
call fcn.039f08d0
mov eax, dword [esp + 0x3fc]
push eax
call fcn.03998130
mov edx, dword [esp + 0x35c]
add esp, 0x10
push edi
lea ecx, [esp + 0x5a4]
push ecx
push 0x104
push edx
call dword [0x3a5ff90]
lea eax, [esp + 0x5a0]
push eax
lea ecx, [esp + 0x498]
call fcn.0394a0f0
mov byte [esp + 0x7b4], 5
mov ecx, dword [0x3a78024]
call fcn.039d9190
mov ecx, dword [0x3a78008]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
xor esi, esi
sar eax, 2
cmp eax, edi
jbe 0x394c048
mov ebp, ecx
cmp edi, eax
jb 0x394bf4b
call fcn.03a01b13
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.03a012f2
add esp, 8
test eax, eax
jne 0x394bf79
test byte [ebx], 0x63
jne 0x394bf77
test byte [ebp + 0x374], 0x63
jne 0x394bf79
mov esi, ebp
mov ecx, dword [0x3a78008]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
inc edi
sar eax, 2
cmp edi, eax
jb 0x394bf40
test esi, esi
je 0x394c048
test dword [esi + 0x36c], 0x2000000
jne 0x394c048
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
test ecx, ecx
je 0x394bfbe
call fcn.03945cb0
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.0399a550
mov ecx, dword [0x3a78024]
call fcn.039d91a0
mov byte [esp + 0x7b4], 4
lea ecx, [esp + 0x494]
call fcn.03946970
mov byte [esp + 0x7b4], 3
lea ecx, [esp + 0x3f0]
call fcn.039ef660
mov byte [esp + 0x7b4], 2
lea ecx, [esp + 0x34c]
call fcn.039ef660
mov dword [esp + 0x7b4], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.039d9270
mov al, 1
jmp 0x394ca4d
mov ecx, dword [0x3a78024]
call fcn.039d91a0
mov edx, dword [0x3a75168]
mov eax, dword [edx]
shr eax, 0x12
test al, 1
je 0x394c077
mov ecx, dword [esp + 0x34c]
push ecx
push str.loader_Self_Loading___ls_n
call fcn.0393dda0
add esp, 8
push 0
call fcn.0393ea90
mov edx, dword [esp + 0x350]
add esp, 4
push 0
push 0x80
push 3
push 0
push 1
push 0xa0000000
push edx
call fcn.0398e670
mov ebp, eax
or ebx, 0xffffffff
cmp ebp, ebx
jne 0x394c0b8
push 1
call fcn.0393ea90
add esp, 4
jmp 0x394c9ff
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.0398beb0
add esp, 0x10
test eax, eax
je 0x394c9d8
cmp dword [esp + 0x30], 0x40
jne 0x394c9d8
mov edx, 0x5a4d
cmp word [esp + 0x538], dx
jne 0x394c9d8
lea ecx, [esp + 0xa8]
call fcn.03949250
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 0x394c134
mov byte [esp + 0xb4], 1
mov eax, dword [esp + 0x574]
cdq
push edx
push eax
push ebp
call fcn.03986600
lea ecx, [esp + 0x3c]
push ecx
push 4
lea edx, [esp + 0x54]
push edx
push ebp
call fcn.0398beb0
add esp, 0x1c
cmp dword [esp + 0x40], 0x4550
jne 0x394c9ad
cmp dword [esp + 0x30], 4
jne 0x394c9ad
lea eax, [esp + 0x30]
push eax
push 0x14
lea ecx, [esp + 0xc0]
push ecx
push ebp
call fcn.0398beb0
movzx esi, word [esp + 0xd8]
add esp, 0x10
cmp esi, 0xe0
jbe 0x394c19f
mov esi, 0xe0
push 0xe0
lea edx, [esp + 0xd0]
push 0
push edx
call fcn.03a01b70
lea eax, [esp + 0x3c]
push eax
push esi
lea ecx, [esp + 0xe0]
push ecx
push ebp
call fcn.0398beb0
add esp, 0x1c
cmp dword [esp + 0x104], 0
jne 0x394c1f7
push 1
call fcn.0393ea90
add esp, 4
mov byte [esp + 0x7b4], 6
lea ecx, [esp + 0xa8]
call fcn.03945900
jmp 0x394c9ed
movzx edx, word [esp + 0xc8]
mov eax, dword [esp + 0x574]
lea ecx, [edx + eax + 0x18]
push 0
push ecx
push ebp
call fcn.03986600
xor edx, edx
add esp, 0xc
xor esi, esi
cmp dx, word [esp + 0xba]
jae 0x394c25d
lea eax, [esp + 0x30]
push eax
push 0x28
lea ecx, [esp + 0x580]
push ecx
push ebp
call fcn.0398beb0
add esp, 0x10
lea edx, [esp + 0x578]
push edx
lea ecx, [esp + 0x1b0]
call fcn.03949a50
movzx eax, word [esp + 0xba]
inc esi
cmp esi, eax
jb 0x394c224
push 1
call fcn.0393ea90
add esp, 4
cmp dword [edi + 0x14], 1
mov dword [esp + 0x18], 0
jne 0x394c45b
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx + 8]
mov esi, dword [0x3a5fdb4]
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 [0x3a77ddc], eax
call esi
push eax
call dword [0x3a5fe60]
cmp dword [esp + 0xa0], 8
jne 0x394c2cf
call esi
push eax
call fcn.039d0410
add esp, 4
mov edx, dword [esp + 0x18]
push edx
call dword [0x3a5fdb8]
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 0x394c319
cmp eax, 8
jne 0x394c31e
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.039c2c80
mov edi, dword [0x3a5fdb4]
add esp, 8
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x54]
push edx
call edi
push eax
call dword [0x3a5ff8c]
test eax, eax
jge 0x394c3c9
mov byte [esp + 0x7b4], 6
lea ecx, [esp + 0xa8]
call fcn.03945900
mov byte [esp + 0x7b4], 5
push ebp
call fcn.0398a3b0
or esi, 0xffffffff
mov dword [esp + 0x20], esi
mov byte [esp + 0x7b4], 4
lea ecx, [esp + 0x494]
call fcn.03946970
mov byte [esp + 0x7b4], 3
lea ecx, [esp + 0x3f0]
call fcn.039ef660
mov byte [esp + 0x7b4], 2
lea ecx, [esp + 0x34c]
call fcn.039ef660
mov dword [esp + 0x7b4], esi
jmp 0x394ca42
lea eax, [esp + 0x4c]
push eax
push 0xe0
lea ecx, [esp + 0x1d0]
push ecx
push ebx
call edi
push eax
call dword [0x3a5fdf8]
test eax, eax
jl 0x394c358
lea ecx, [esp + 0x74]
call fcn.039d9be0
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.039c4f50
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.039c5360
add esp, 0x18
mov byte [esp + 0x7b4], 7
lea ecx, [esp + 0x74]
call fcn.03999990
jmp 0x394c562
push ebp
push 0x1000000
push 2
push 0
push 0
push 0xf
lea eax, [esp + 0x4c]
push eax
call fcn.039c7700
test eax, eax
jl 0x394c1de
mov ecx, dword [esp + 0x34c]
push ecx
lea edx, [esp + 0x6c]
push edx
call dword [0x3a5ff88]
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x14]
mov ecx, dword fs:[0x18]
mov esi, dword [0x3a5fdb4]
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.039c6350
test eax, eax
jl 0x394c1de
mov edx, dword [esp + 0x24]
test byte [edx], 0x62
jne 0x394c531
mov eax, dword [esp + 0x18]
push 0
push eax
call esi
push eax
call fcn.039d18b0
add esp, 0xc
test eax, eax
jge 0x394c531
mov byte [esp + 0x7b4], 6
lea ecx, [esp + 0xa8]
call fcn.03945900
mov byte [esp + 0x7b4], 5
lea ecx, [esp + 0x20]
call fcn.03941740
jmp 0x394c9ff
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0398a3b0
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.039c2cd0
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.03941760
mov ebx, dword [esp + 0x38]
add esp, 0xc
test al, al
jne 0x394c5dd
push 0x3d4
call fcn.0393d940
add esp, 4
mov dword [esp + 0x4c], eax
mov byte [esp + 0x7b4], 0xa
mov edi, dword [esp + 0x24]
test eax, eax
je 0x394c5cf
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.039492b0
mov byte [esp + 0x7b4], 9
mov esi, eax
jmp 0x394c5f5
xor eax, eax
mov byte [esp + 0x7b4], 9
mov esi, eax
jmp 0x394c5f5
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.039312f0
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.03948c50
mov dword [esi + 0x388], ebp
mov ebp, 1
mov dword [esp + 0x20], 0xffffffff
cmp dword [edi + 0x10], ebp
jne 0x394c66e
or dword [esi + 0x36c], 0x40000
cmp dword [edi + 8], ebp
jne 0x394c67a
or dword [esi + 0x36c], 2
cmp dword [edi + 0xc], 0
jne 0x394c68a
or dword [esi + 0x36c], 0x4000
lea edx, [esp + 0x5a0]
push edx
mov ecx, esi
call fcn.0393e8a0
push esi
call fcn.0393f410
mov ecx, dword [esp + 0x2c]
add esp, 4
push esi
call fcn.0393e670
cmp dword [esp + 0x1c4], ebp
je 0x394c822
mov dword [esp + 0x1c], 0
mov ecx, dword [0x3a78024]
inc dword [esp + 0x1c]
xor ebp, ebp
mov dword [esp + 0x34], ebp
call fcn.039d9190
mov ecx, dword [0x3a78008]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
xor edi, edi
sar eax, 2
cmp eax, ebp
jbe 0x394c86f
nop
mov ebx, ecx
cmp ebp, eax
jb 0x394c6fb
call fcn.03a01b13
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.03a012f2
add esp, 8
test eax, eax
jne 0x394c727
mov ecx, dword [esp + 0x24]
test byte [ecx], 0x63
jne 0x394c725
test byte [ebx + 0x374], 0x63
jne 0x394c727
mov edi, ebx
mov ecx, dword [0x3a78008]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
inc ebp
sar eax, 2
cmp ebp, eax
jb 0x394c6f0
test edi, edi
je 0x394c86f
cmp dword [edi + 0x258], 0
jg 0x394c762
cmp dword [edi + 0x254], 0
jg 0x394c762
mov dword [esp + 0x34], 1
jmp 0x394c7f5
mov edx, dword [0x3a75168]
mov eax, dword [edx]
mov ecx, eax
shr ecx, 0x12
test cl, 1
jne 0x394c77b
shr eax, 3
test al, 1
je 0x394c795
lea edx, [esp + 0x5a0]
push edx
push str.after_loading_DLL__ls__already_found_in_memory__loaded_by_another_thread_simutaneously___n
call fcn.0393dda0
add esp, 8
call fcn.03947bb0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
test ecx, ecx
je 0x394c7ae
call fcn.03945cb0
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.0399a550
push esi
call fcn.0393ea50
add esp, 4
mov ecx, esi
call fcn.039452c0
push esi
call fcn.0393d9e0
add esp, 4
xor esi, esi
mov ecx, dword [0x3a78024]
call fcn.039d91a0
cmp dword [esp + 0x34], 0
je 0x394c81a
push 0xa
call dword [0x3a5fd68]
cmp dword [esp + 0x1c], 0x64
jl 0x394c6c1
mov dword [esp + 0x1c], esi
mov ebx, dword [esp + 0x2c]
test esi, esi
je 0x394c83b
mov ecx, dword [0x3a75168]
mov edx, dword [ecx]
shr edx, 0x12
test dl, 1
je 0x394c83b
call fcn.03947bb0
mov byte [esp + 0x7b4], 7
test ebx, ebx
je 0x394c856
mov ecx, ebx
call fcn.03945cb0
mov dword [esp + 0x2c], 0
mov byte [esp + 0x7b4], 6
lea ecx, [esp + 0x1ac]
call fcn.03999990
jmp 0x394bff1
push 2
push esi
mov dword [esp + 0x24], esi
call fcn.039b2070
add esp, 8
test byte [esi + 0x374], 0x62
jne 0x394c899
mov eax, dword [esi]
push eax
mov eax, dword [esi + 0x1f4]
push eax
call fcn.0399aed0
add esp, 8
call dword [0x3a5fd98]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [0x3a78008]
mov dword [esi + 0x264], eax
call fcn.03949af0
mov ecx, esi
call fcn.039994f0
mov ecx, dword [0x3a78024]
call fcn.039d91a0
test byte [esi + 0x374], 0x63
jne 0x394c8f2
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
push 0
push edx
push eax
push esi
call fcn.039e0c70
add esp, 0x10
test al, al
je 0x394c901
push esi
call fcn.039443f0
add esp, 4
mov ecx, dword [esp + 0x38]
push esi
call fcn.0399a550
jmp 0x394c81e
call dword [0x3a5fd78]
mov edi, eax
mov dword [esp + 0x70], edi
mov byte [esp + 0x7b4], 0xb
mov esi, dword [esi + 0x1f4]
push esi
call fcn.0394ae20
mov byte [esp + 0x7b4], 9
push edi
call dword [0x3a5fde0]
mov byte [esp + 0x7b4], 7
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x394c94d
call fcn.03945cb0
mov dword [esp + 0x2c], 0
mov byte [esp + 0x7b4], 6
lea ecx, [esp + 0xa8]
call fcn.03945900
mov byte [esp + 0x7b4], 4
lea ecx, [esp + 0x494]
call fcn.03946970
mov byte [esp + 0x7b4], 3
lea ecx, [esp + 0x3f0]
call fcn.039ef660
mov byte [esp + 0x7b4], 2
lea ecx, [esp + 0x34c]
call fcn.039ef660
mov dword [esp + 0x7b4], 0xffffffff
jmp 0x394ca42
push 1
call fcn.0393ea90
add esp, 4
push 0xc1
call dword [0x3a5fde0]
mov byte [esp + 0x7b4], 6
lea ecx, [esp + 0xa8]
call fcn.03945900
jmp 0x394c9ed
push 1
call fcn.0393ea90
add esp, 4
push 0xc1
call dword [0x3a5fde0]
mov byte [esp + 0x7b4], 5
push ebp
call fcn.0398a3b0
mov dword [esp + 0x20], ebx
mov byte [esp + 0x7b4], 4
lea ecx, [esp + 0x494]
call fcn.03946970
mov byte [esp + 0x7b4], 3
lea ecx, [esp + 0x3f0]
call fcn.039ef660
mov byte [esp + 0x7b4], 2
lea ecx, [esp + 0x34c]
call fcn.039ef660
mov dword [esp + 0x7b4], ebx
lea ecx, [esp + 0x14]
call fcn.039d9270
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.03a00f6a
add esp, 0x7a4
ret