Function at 0x413e80
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5ca098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], edi
call fcn.00435140
mov dword [esp + 0x4c], 0
mov dword [edi], 0x5e5494
call fcn.00401020
mov eax, dword [eax + 4]
lea esi, [edi + 8]
push 1
push 0x6093ec
mov ecx, esi
mov dword [edi + 4], eax
call fcn.005585e0
lea ebp, [edi + 0xc]
push 1
push 0x60aa34
mov ecx, ebp
call fcn.005585e0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push esi
call fcn.00558070
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [edi + 4]
call fcn.00412ba0
lea ecx, [esp + 0x18]
call fcn.005581a0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ebp
call fcn.00558070
mov ecx, dword [edi + 4]
lea edx, [esp + 0x1c]
push edx
call fcn.00412c20
lea ecx, [esp + 0x18]
call fcn.005581a0
push 4
push 0x60aa28
lea ecx, [edi + 0x64]
call fcn.00558600
lea ecx, [esp + 0x14]
call fcn.00558060
push 1
push 0x60aa24
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 1
call fcn.00558600
mov eax, dword [edi + 0x78]
lea esi, [edi + 0x70]
lea ecx, [esp + 0x14]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 1
push 0x60aa20
lea ecx, [esp + 0x1c]
call fcn.00558600
mov eax, dword [esi + 8]
lea edx, [esp + 0x14]
push edx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 4
push 0x60aa18
lea ecx, [esp + 0x1c]
call fcn.00558600
mov eax, dword [esi + 8]
lea ecx, [esp + 0x14]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 1
push 0x60aa14
lea ecx, [esp + 0x1c]
call fcn.00558600
mov eax, dword [esi + 8]
lea edx, [esp + 0x14]
push edx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x60aa0c
call fcn.00558100
lea ebx, [edi + 0x84]
mov ecx, ebx
call fcn.00558390
lea ebp, [edi + 0x68]
push 2
push 0x60aa08
mov ecx, ebp
call fcn.00558600
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ebp
call fcn.00558070
mov ecx, dword [edi + 4]
lea eax, [esp + 0x1c]
push eax
call fcn.00412ca0
lea ecx, [esp + 0x18]
call fcn.005581a0
push 1
push 0x60aa24
lea ecx, [esp + 0x1c]
call fcn.00558600
mov eax, dword [esi + 8]
lea ecx, [esp + 0x14]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 1
push 0x60aa20
lea ecx, [esp + 0x1c]
call fcn.00558600
mov eax, dword [esi + 8]
lea edx, [esp + 0x14]
push edx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 4
push 0x60aa18
lea ecx, [esp + 0x1c]
call fcn.00558600
mov eax, dword [esi + 8]
lea ecx, [esp + 0x14]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 1
push 0x60aa14
lea ecx, [esp + 0x1c]
call fcn.00558600
mov eax, dword [esi + 8]
lea edx, [esp + 0x14]
push edx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x60aa0c
call fcn.00558100
mov ecx, ebx
call fcn.00558390
push 2
push 0x60aa08
mov ecx, ebp
call fcn.00558600
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ebp
call fcn.00558070
mov ecx, dword [edi + 4]
lea eax, [esp + 0x1c]
push eax
call fcn.00412ca0
lea ecx, [esp + 0x18]
call fcn.005581a0
push 2
push 0x60aa08
lea ecx, [edi + 0x6c]
call fcn.00558600
mov ebp, 4
lea ecx, [esp + 0x14]
push ebp
push 0x60aa00
call fcn.00558600
mov eax, dword [edi + 0x5c]
lea esi, [edi + 0x54]
lea ecx, [esp + 0x14]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 5
push 0x60a9f8
lea ecx, [esp + 0x1c]
call fcn.00558600
mov eax, dword [esi + 8]
lea edx, [esp + 0x14]
push edx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 5
push 0x60a9f0
lea ecx, [esp + 0x1c]
call fcn.00558600
mov eax, dword [esi + 8]
lea ecx, [esp + 0x14]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 5
push 0x60a9e8
lea ecx, [esp + 0x1c]
call fcn.00558600
mov eax, dword [esi + 8]
lea edx, [esp + 0x14]
push edx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 2
push 0x60a9e4
lea ecx, [edi + 0x40]
call fcn.00558600
push 3
push 0x60a9e0
lea ecx, [esp + 0x1c]
call fcn.00558600
mov eax, dword [edi + 0x4c]
lea esi, [edi + 0x44]
lea ecx, [esp + 0x14]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 5
push 0x60a9d8
lea ecx, [esp + 0x1c]
call fcn.00558600
mov eax, dword [esi + 8]
lea edx, [esp + 0x14]
push edx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 5
push 0x60a9d0
lea ecx, [esp + 0x1c]
call fcn.00558600
mov eax, dword [esi + 8]
lea ecx, [esp + 0x14]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x60a9c8
call fcn.00558100
lea ecx, [edi + 0x14]
call fcn.00558390
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x60a9c0
call fcn.00558100
lea ecx, [edi + 0x10]
call fcn.00558390
push 2
push 0x60aa08
lea ecx, [edi + 0x28]
call fcn.00558600
xor edx, edx
mov byte [esp + 0x24], 0xe0
mov dword [esp + 0x39], edx
mov byte [esp + 0x25], 0xe5
mov dword [esp + 0x3d], edx
mov byte [esp + 0x26], 0xe2
mov byte [esp + 0x27], 0xe3
mov byte [esp + 0x28], 0xe4
mov byte [esp + 0x29], 0xe6
mov byte [esp + 0x2a], 0xe7
mov byte [esp + 0x2b], 0xe8
mov byte [esp + 0x2c], 0xe9
mov byte [esp + 0x2d], 0xea
mov byte [esp + 0x2e], 0xeb
mov byte [esp + 0x2f], 0xec
mov byte [esp + 0x30], 0xed
mov byte [esp + 0x31], 0xee
mov byte [esp + 0x32], 0xf1
mov byte [esp + 0x33], 0xf2
mov byte [esp + 0x34], 0xf3
mov byte [esp + 0x35], 0xf4
mov byte [esp + 0x36], 0xf5
mov byte [esp + 0x37], 0xf6
mov byte [esp + 0x38], 0xcd
mov byte [esp + 0x41], dl
mov byte [esp + 0x39], 2
lea eax, [esp + 0x24]
push 0x17
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x42], 5
call fcn.005585e0
mov eax, dword [edi + 0x20]
lea esi, [edi + 0x18]
lea ecx, [esp + 0x14]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402a90
lea ecx, [esp + 0x10]
call fcn.00558060
push 5
push 0x60a9e8
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 2
call fcn.00558600
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 2
push 0x60a9b0
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 2
push 0x60a9bc
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 2
push 0x60a9b8
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 2
push 0x60a9b4
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 3
push 0x60a9ac
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 2
push 0x60a9a8
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 2
push 0x60a9a4
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 2
push 0x60a9a0
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push ebp
push 0x60a998
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 6
push 0x60a990
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 3
push 0x60a98c
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 2
push 0x60a988
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 2
push 0x60a984
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 7
push 0x60a97c
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 7
push 0x60a974
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 5
push 0x60a96c
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 3
push 0x60a968
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402a90
push 2
push 0x60a964
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
sub edx, eax
mov ebx, eax
sar edx, 2
cmp edx, 1
jae 0x41463c
mov ecx, esi
call fcn.0056e680
cmp eax, 1
jbe 0x4145a6
mov ecx, esi
call fcn.0056e680
mov ebp, eax
jmp 0x4145ab
mov ebp, 1
mov ecx, esi
call fcn.0056e680
add eax, ebp
mov dword [esp + 0x1c], eax
jns 0x4145bc
xor eax, eax
shl eax, 2
push eax
call fcn.005bcf2f
mov ecx, dword [esi + 4]
add esp, 4
mov ebp, eax
push ebp
push ebx
push ecx
mov ecx, esi
call fcn.00402d20
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push 1
push eax
mov dword [esp + 0x24], eax
call fcn.00402d60
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 8]
add eax, 4
push eax
push ecx
push ebx
mov ecx, esi
call fcn.00402d20
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, esi
call fcn.00402cf0
mov eax, dword [esi + 4]
push eax
call fcn.005bc500
mov ecx, dword [esp + 0x20]
add esp, 4
lea edx, [ebp + ecx*4]
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.0056e680
lea eax, [ebp + eax*4 + 4]
mov dword [esi + 4], ebp
mov dword [esi + 8], eax
mov ebp, 4
jmp 0x4146b8
mov ecx, eax
sub ecx, ebx
sar ecx, 2
cmp ecx, 1
jae 0x414688
lea edx, [ebx + 4]
mov ecx, esi
push edx
push eax
push ebx
call fcn.00402d20
mov eax, dword [esi + 8]
lea ecx, [esp + 0x10]
mov edx, eax
push ecx
sub edx, ebx
mov ecx, 1
sar edx, 2
sub ecx, edx
push ecx
push eax
mov ecx, esi
call fcn.00402d60
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
push edx
push eax
push ebx
call fcn.00402d90
add esp, 0xc
jmp 0x4146b5
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.00402d20
mov eax, dword [esi + 8]
push eax
add eax, 0xfffffffc
push eax
push ebx
call fcn.00402dd0
lea ecx, [esp + 0x1c]
lea edx, [ebx + 4]
push ecx
push edx
push ebx
call fcn.00402d90
add esp, 0x18
add dword [esi + 8], ebp
push 2
push 0x60a960
lea ecx, [esp + 0x18]
call fcn.00558600
mov ebx, dword [esi + 8]
mov eax, dword [esi + 0xc]
sub eax, ebx
sar eax, 2
cmp eax, 1
jae 0x41478d
mov ecx, esi
call fcn.0056e680
cmp eax, 1
jbe 0x4146f3
mov ecx, esi
call fcn.0056e680
mov ebp, eax
jmp 0x4146f8
mov ebp, 1
mov ecx, esi
call fcn.0056e680
add eax, ebp
mov dword [esp + 0x18], eax
jns 0x414709
xor eax, eax
lea ecx, [eax*4]
push ecx
call fcn.005bcf2f
mov edx, dword [esi + 4]
add esp, 4
mov ebp, eax
mov ecx, esi
push ebp
push ebx
push edx
call fcn.00402d20
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], eax
push ecx
push 1
push eax
mov ecx, esi
call fcn.00402d60
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 8]
add edx, 4
mov ecx, esi
push edx
push eax
push ebx
call fcn.00402d20
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call fcn.00402cf0
mov eax, dword [esi + 4]
push eax
call fcn.005bc500
mov eax, dword [esp + 0x1c]
add esp, 4
lea ecx, [ebp + eax*4]
mov dword [esi + 0xc], ecx
mov ecx, esi
call fcn.0056e680
lea edx, [ebp + eax*4 + 4]
mov dword [esi + 4], ebp
mov dword [esi + 8], edx
mov ebp, 4
jmp 0x414809
mov eax, ebx
sub eax, ebx
sar eax, 2
cmp eax, 1
jae 0x4147d9
lea ecx, [ebx + 4]
push ecx
push ebx
push ebx
mov ecx, esi
call fcn.00402d20
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
mov ecx, eax
push edx
sub ecx, ebx
mov edx, 1
sar ecx, 2
sub edx, ecx
mov ecx, esi
push edx
push eax
call fcn.00402d60
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
push ebx
call fcn.00402d90
add esp, 0xc
jmp 0x414806
push ebx
lea edx, [ebx - 4]
push ebx
push edx
mov ecx, esi
call fcn.00402d20
mov eax, dword [esi + 8]
push eax
add eax, 0xfffffffc
push eax
push ebx
call fcn.00402dd0
lea eax, [esp + 0x1c]
lea ecx, [ebx + 4]
push eax
push ecx
push ebx
call fcn.00402d90
add esp, 0x18
add dword [esi + 8], ebp
push 2
push 0x60a95c
lea ecx, [esp + 0x18]
call fcn.00558600
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
sub edx, eax
mov ebx, eax
sar edx, 2
cmp edx, 1
jae 0x4148dc
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x41484b
sub eax, ecx
sar eax, 2
cmp eax, 1
jbe 0x41484b
mov ecx, esi
call fcn.0056e680
mov ebp, eax
jmp 0x414850
mov ebp, 1
mov ecx, esi
call fcn.0056e680
add eax, ebp
mov dword [esp + 0x18], eax
jns 0x414861
xor eax, eax
shl eax, 2
push eax
call fcn.005bcf2f
mov ecx, dword [esi + 4]
add esp, 4
mov ebp, eax
push ebp
push ebx
push ecx
mov ecx, esi
call fcn.00402d20
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push 1
push eax
mov dword [esp + 0x28], eax
call fcn.00402d60
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 8]
add eax, 4
push eax
push ecx
push ebx
mov ecx, esi
call fcn.00402d20
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, esi
call fcn.00402cf0
mov eax, dword [esi + 4]
push eax
call fcn.005bc500
mov ecx, dword [esp + 0x1c]
add esp, 4
lea edx, [ebp + ecx*4]
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.0056e680
lea eax, [ebp + eax*4 + 4]
mov dword [esi + 4], ebp
mov dword [esi + 8], eax
jmp 0x414958
mov ecx, eax
sub ecx, ebx
sar ecx, 2
cmp ecx, 1
jae 0x414928
lea edx, [ebx + 4]
mov ecx, esi
push edx
push eax
push ebx
call fcn.00402d20
mov eax, dword [esi + 8]
lea ecx, [esp + 0x10]
mov edx, eax
push ecx
sub edx, ebx
mov ecx, 1
sar edx, 2
sub ecx, edx
push ecx
push eax
mov ecx, esi
call fcn.00402d60
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
push edx
push eax
push ebx
call fcn.00402d90
add esp, 0xc
jmp 0x414955
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.00402d20
mov eax, dword [esi + 8]
push eax
add eax, 0xfffffffc
push eax
push ebx
call fcn.00402dd0
lea ecx, [esp + 0x1c]
lea edx, [ebx + 4]
push ecx
push edx
push ebx
call fcn.00402d90
add esp, 0x18
add dword [esi + 8], ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 1
call fcn.005581a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0
call fcn.005581a0
mov ecx, dword [esp + 0x44]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x40
ret