Function at 0x3481cd89
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x3484ffad
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3485dd14]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, dword [esp + 0x78]
mov eax, dword [esi + 8]
xor edi, edi
mov dword [esp + 0x14], edi
mov eax, dword [eax + 0x34]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
push edi
push edi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
mov eax, dword [esi + 8]
add eax, 0xf8
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [esi + 8]
mov ebx, dword [eax + 0x14]
add ebx, 0xc
cmp dword [eax + 0x60], edi
mov dword [esp + 0x70], edi
jne 0x3481ce0c
push eax
call fcn.3481d9c8
mov eax, dword [esi + 8]
mov dword [esp + 0x34], 0xffffffff
mov ecx, dword [eax + 0x3c]
test cl, 0x20
je 0x3482323f
cmp dword [eax + 0x50], edi
ja 0x34823249
cmp ebx, edi
je 0x3482325f
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x24]
push edx
push 0x102
call fcn.3481f579
mov ebp, eax
mov eax, dword [esi + 8]
test byte [eax + 0x3c], 0x10
jne 0x3481ce5c
cmp dword [esp + 0x24], 1
je 0x34823269
mov eax, dword [esi + 8]
cmp dword [eax + 0x48], 1
je 0x348232ed
test byte [eax + 0x3c], 0x10
jne 0x3481cf32
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x78]
add eax, 0x64
push eax
push 0x34856478
push ecx
push ebp
xor edi, edi
call sub.acecore.dll_Ordinal_302
cmp eax, 0xfffff88d
mov dword [esp + 0x14], eax
je 0x348233bf
cmp eax, 0xfffffc0d
je 0x348233b8
test eax, eax
jne 0x3482333a
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x18]
push edx
push 0xfd
call fcn.3481f579
cmp dword [esp + 0x18], 1
je 0x34823344
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x6c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x3481ced5
mov ecx, dword [esi + 8]
sub eax, edx
lea edx, [esp + 0x14]
push edx
push edi
sar eax, 1
neg edi
sbb edi, edi
and edi, dword [esp + 0x24]
push edi
push eax
mov eax, dword [ecx + 0x6c]
mov ecx, dword [ecx + 0x64]
push eax
push ecx
push ebp
call fcn.3481cb23
mov ebp, eax
test ebp, ebp
jl 0x3481cf82
mov edx, dword [esi + 8]
mov ecx, dword [edx + 0x38]
test ecx, ecx
jne 0x3482338a
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x34]
mov edx, dword [ecx + 0x58]
mov dword [eax + 0x38], edx
mov eax, dword [esi + 8]
cmp dword [eax + 0x38], 0
jne 0x34823394
mov eax, dword [esi + 8]
or dword [eax + 0x3c], 0x10
mov ecx, dword [esi + 8]
mov edi, dword [esp + 0x78]
lea edx, [esp + 0x28]
push edx
mov edx, dword [ecx + 0x64]
push 0x38
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x2c]
push edx
push eax
push edi
call sub.acecore.dll_Ordinal_312
test eax, eax
mov dword [esp + 0x14], eax
jl 0x348233a3
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esi + 8]
push edi
add ecx, 0x54
call fcn.34816a3c
mov ebp, eax
test ebp, ebp
jl 0x348233c6
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x348233e7
mov edi, dword [esp + 0x78]
test ebp, ebp
jl 0x34823400
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x3481cfa9
push eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, ebp
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 8
mov ebp, 0x80040e0c
jmp 0x3481cf82
test ecx, 0x100
jne 0x3481ce2c
mov ebp, 0x80040e05
jmp 0x3481cf82
mov ebp, 0x80004005
jmp 0x3481cf82
mov eax, dword [eax + 0x4c]
cmp eax, edi
je 0x34823281
push eax
mov ecx, 0x34866048
call fcn.34828c49
mov eax, dword [esi + 8]
mov dword [eax + 0x4c], edi
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x6c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x3482328a
sub eax, edx
sar eax, 1
lea edi, [eax + eax + 2]
mov eax, dword [0x34866048]
mov edx, dword [eax]
push edi
push eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esi + 8]
mov dword [ecx + 0x4c], eax
mov edx, dword [esi + 8]
cmp dword [edx + 0x4c], 0
jne 0x348232c4
mov ebp, 0x8007000e
jmp 0x3481cf82
mov eax, edx
mov ecx, dword [eax + 0x4c]
mov edx, dword [eax + 0x6c]
shr edi, 1
push edi
push ecx
push edx
call dword [sym.imp.MSO.dll_Ordinal_6877]
mov eax, dword [esi + 8]
or dword [eax + 0x3c], 0x10
mov eax, dword [esi + 8]
mov dword [eax + 0x48], 1
jmp 0x3481ce5c
or dword [eax + 0x3c], 0x10
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x78]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [eax + 0x4c]
push 0x38
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x2c]
push ecx
push edx
push edi
call sub.acecore.dll_Ordinal_310
test eax, eax
mov dword [esp + 0x14], eax
jge 0x34823330
mov dword [esp + 0x14], 0
mov dword [esp + 0x34], 0xffffffff
jmp 0x3481cf92
lea eax, [esp + 0x30]
push eax
jmp 0x3481cf6c
mov ebp, 0x80004005
jmp 0x3481cf82
mov ecx, dword [ebx + 0xc]
lea eax, [esp + 0x1c]
push eax
push 0xf2
mov edi, 1
call fcn.348131e9
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebx + 0xc]
push 0x119
call fcn.3481f579
cmp dword [esp + 0x18], edi
jne 0x34823378
mov edi, 3
cmp dword [esp + 0x1c], 0
jne 0x3481cecc
xor edi, edi
jmp 0x3481cecc
call fcn.3484cf71
jmp 0x3481cf19
mov ecx, eax
mov ecx, dword [ecx + 0x38]
call fcn.3484ca97
jmp 0x3481cf32
mov dword [esp + 0x14], 0
mov dword [esp + 0x34], 0xffffffff
jmp 0x3481cf92
mov ebp, 0x8007000e
jmp 0x348233e7
mov ebp, 0x80040e09
jmp 0x348233e7
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x3481cf82
push eax
push edi
call sub.acecore.dll_Ordinal_108
mov dword [esp + 0x34], 0xffffffff
jmp 0x3481cf82
mov edx, dword [esi + 8]
push 0x348564ac
push eax
mov eax, dword [edx + 0x34]
push ebp
push eax
call fcn.3481319b
mov edi, dword [esp + 0x78]
jmp 0x3482341b
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x34]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
push 0
push 0x348564ac
push ebp
push edx
push eax
call fcn.3481cfc1
test ebp, ebp
jge 0x3481cf9a
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x64]
cmp eax, 0xffffffff
je 0x3481cf9a
test byte [ecx + 0x3c], 0x10
jne 0x3481cf9a
push eax
push edi
call sub.acecore.dll_Ordinal_108
mov ecx, dword [esi + 8]
mov dword [esp + 0x14], eax
mov dword [ecx + 0x64], 0xffffffff
jmp 0x3481cf9a