Function at 0x40dc30
Capabilities:
Access peb ldr_data
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45bc58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push esi
mov esi, ecx
mov ax, word [esi + 0x48]
cmp ax, 0x1c0
mov dword [esp + 8], esi
je 0x40dc5f
cmp ax, 0x1c2
jne 0x40dc65
test byte [esi + 0x5b], 0x20
jne 0x40dc79
xor eax, eax
pop esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 8
push 0x64
lea ecx, [esp + 0x4c]
call fcn.0040c060
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.0040fc80
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x40dccd
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.0040bf70
mov eax, 1
pop esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 8
push ebx
push edi
mov edi, dword [esp + 0x80]
test edi, edi
je 0x40dd0f
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x40dd0f
xor esi, esi
test ebx, ebx
jle 0x40dd0f
mov edx, dword [edi + 4]
mov eax, dword [edx + esi*4]
test eax, eax
lea ecx, [esp + 0x50]
jge 0x40dcff
neg eax
push eax
call fcn.0043bf10
jmp 0x40dd0a
push eax
call fcn.0043c100
mov word [eax], 0
inc esi
cmp esi, ebx
jl 0x40dce7
lea ecx, [esp + 0x3c]
call fcn.0043afd0
mov byte [esp + 0x74], 1
mov eax, dword [esp + 0x5c]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x44]
call fcn.0043add0
mov eax, dword [esp + 0x5c]
neg eax
sbb eax, eax
mov dword [esp + 0x18], eax
je 0x40dd6e
xor esi, esi
lea ecx, [ecx]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x5c]
call fcn.0043bfa0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov dword [esi + ecx], edx
mov eax, dword [esp + 0x18]
add esi, 4
test eax, eax
jne 0x40dd40
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push ebp
push 0x40bf60
push 4
push eax
push ecx
call fcn.0042e380
add esp, 0x10
lea ecx, [esp + 0x2c]
call fcn.0040bfb0
mov byte [esp + 0x78], 2
mov edx, dword [esp + 0x44]
mov esi, dword [edx]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x48]
and esi, 0xfffff000
push esi
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], ebx
mov ebp, eax
call fcn.0043b6d0
mov ecx, dword [esp + 0x34]
mov eax, esi
shr eax, 0x10
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.0043b6d0
mov edx, dword [esp + 0x34]
push 0
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], ebp
call fcn.0043b6d0
mov eax, dword [esp + 0x34]
push 0
push eax
lea ecx, [esp + 0x34]
call fcn.0043b6d0
xor ecx, ecx
lea eax, [ebx + 1]
xor edi, edi
cmp eax, ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x80], ecx
jle 0x40df90
mov ebx, dword [esp + 0x80]
jmp 0x40de24
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x80]
cmp ecx, dword [esp + 0x18]
je 0x40de40
mov edx, dword [esp + 0x44]
mov ebx, dword [edx + ecx*4]
mov eax, ebx
and eax, 0xfffff000
cmp eax, esi
je 0x40ded3
mov eax, dword [esp + 0x34]
test al, 1
je 0x40de5f
push 0
push eax
lea ecx, [esp + 0x34]
call fcn.0043b6d0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x30]
sub eax, ebp
shl eax, 1
mov word [edx + ebp*2 + 4], ax
mov edx, dword [esp + 0x30]
shr eax, 0x10
mov word [edx + ebp*2 + 6], ax
cmp ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x2c]
je 0x40e113
mov esi, ebx
and esi, 0xfffff000
push esi
push eax
mov ebp, eax
call fcn.0043b6d0
mov ecx, dword [esp + 0x34]
mov eax, esi
shr eax, 0x10
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.0043b6d0
mov edx, dword [esp + 0x34]
push 0
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], ebp
call fcn.0043b6d0
mov eax, dword [esp + 0x34]
push 0
push eax
lea ecx, [esp + 0x34]
call fcn.0043b6d0
mov edx, dword [esp + 0x34]
mov ecx, ebx
and ecx, 0xfff
or ecx, 0x3000
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.0043b6d0
test edi, edi
je 0x40df04
mov eax, dword [edi + 0xc]
cmp eax, ebx
ja 0x40df04
mov ecx, dword [edi + 0x10]
add ecx, eax
cmp ebx, ecx
jb 0x40df10
mov ecx, dword [esp + 0x14]
push ebx
call fcn.0040c420
mov edi, eax
test edi, edi
je 0x40e150
mov eax, dword [edi + 0x30]
mov edx, dword [edi + 0xc]
mov ecx, dword [esp + 0x84]
sub eax, edx
mov ebp, dword [eax + ebx]
add eax, ebx
test ecx, ecx
mov dword [esp + 0x28], eax
je 0x40df44
mov eax, dword [ecx + 0x18]
cmp eax, ebp
ja 0x40df44
mov edx, dword [ecx + 8]
add edx, eax
cmp ebp, edx
jb 0x40df57
mov ecx, dword [esp + 0x14]
push ebp
call fcn.0040c460
mov dword [esp + 0x84], eax
mov ecx, eax
test ecx, ecx
je 0x40e1a7
mov edx, dword [ecx + 0x18]
mov eax, dword [ecx + 0xc]
sub eax, edx
mov edx, dword [esp + 0x28]
lea ecx, [eax + ebp + 0x10000000]
mov eax, dword [esp + 0x80]
mov dword [edx], ecx
mov ecx, dword [esp + 0x18]
inc eax
inc ecx
cmp eax, ecx
mov dword [esp + 0x80], eax
jl 0x40de19
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0xe4]
test eax, eax
je 0x40dfba
mov ecx, dword [edi + 0xe8]
test ecx, ecx
je 0x40dfba
push eax
mov ecx, edi
call fcn.0040c3d0
mov ebx, eax
test ebx, ebx
jne 0x40e075
mov esi, dword [edi + 0x144]
push 1
lea ecx, [esi + 1]
push ecx
lea ecx, [edi + 0x13c]
call fcn.004063c0
imul esi, esi, 0x4c
add esi, dword [edi + 0x140]
mov ebx, esi
mov esi, dword [esp + 0x14]
inc word [esi + 0x4a]
mov ax, word [esi + 0x4a]
movzx eax, ax
xor ebp, ebp
test eax, eax
jle 0x40e03c
xor edi, edi
mov dword [esp + 0x80], eax
lea ebx, [ebx]
mov eax, dword [esi + 0x140]
mov ecx, dword [eax + edi + 0x10]
mov edx, dword [eax + edi + 8]
add eax, edi
cmp edx, ecx
ja 0x40e016
mov edx, ecx
mov ecx, dword [eax + 0xc]
add ecx, edx
cmp ecx, ebp
jbe 0x40e021
mov ebp, ecx
mov dword [eax + 0x18], 0
mov eax, dword [esp + 0x80]
add edi, 0x4c
dec eax
mov dword [esp + 0x80], eax
jne 0x40e000
mov eax, dword [0x462a9c]
mov edx, ebx
mov dword [edx], eax
mov cx, word [0x462aa0]
mov word [edx + 4], cx
mov al, byte [0x462aa2]
add ebp, 0xfff
and ebp, 0xfffff000
mov byte [edx + 6], al
mov dword [ebx + 0xc], ebp
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x24], 0x42000040
mov ebp, dword [esp + 0x34]
lea ebp, [ebp + ebp + 0x1ff]
and ebp, 0xfffffe00
push 0xffffffffffffffff
push ebp
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x10], ebp
mov dword [ebx + 8], ebp
call fcn.0043b100
mov ecx, dword [esp + 0x34]
mov edi, dword [ebx + 0x30]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
add ecx, ecx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0xc]
mov dword [eax + 0xe4], ecx
mov dword [eax + 0xe8], ebp
mov dword [eax + 0x78], 0x10000000
mov byte [esp + 0x78], 1
lea ecx, [esp + 0x2c]
call fcn.0043b730
mov byte [esp + 0x78], 0
lea ecx, [esp + 0x40]
call fcn.0043aff0
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x54]
call fcn.0043c060
pop ebp
pop edi
pop ebx
mov eax, 1
pop esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 8
push 0
push eax
call fcn.0043b6d0
mov ecx, dword [esp + 0x34]
push 0
push ecx
lea ecx, [esp + 0x34]
call fcn.0043b6d0
mov edx, dword [esp + 0x34]
push 0
push edx
lea ecx, [esp + 0x34]
call fcn.0043b6d0
mov eax, dword [esp + 0x34]
push 0
push eax
lea ecx, [esp + 0x34]
call fcn.0043b6d0
jmp 0x40df90
push ebx
push str.Error:_unable_to_find_section_for_address:__08X
push 0x4753e0
call fcn.0040bd00
add esp, 0xc
mov byte [esp + 0x78], 1
lea ecx, [esp + 0x2c]
call fcn.0043b730
mov byte [esp + 0x78], 0
lea ecx, [esp + 0x40]
call fcn.0043aff0
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x54]
call fcn.0043c060
mov ecx, dword [esp + 0x70]
pop ebp
pop edi
pop ebx
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x6c
ret 8
push ebp
push str.Error:_unable_to_find_section_for_address:__08X
push 0x4753e0
call fcn.0040bd00
add esp, 0xc
mov byte [esp + 0x78], 1
lea ecx, [esp + 0x2c]
call fcn.0043b730
mov byte [esp + 0x78], 0
lea ecx, [esp + 0x40]
call fcn.0043aff0
jmp 0x40e17f