Function at 0x43d720
Capabilities:
Check for peb ntglobalflag flag
Get number of processors
Get process heap flags
Get process heap force flags
Parse pe header

Disassembly:
push 0xffffffffffffffff
push 0x49b1a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
push ebx
push esi
push edi
mov esi, 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x424], esi
call fcn.0046eb20
lea eax, [esp + 0x42c]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x428], 2
call fcn.0046eb30
mov ebx, 3
push 0
lea ecx, [esp + 0x10]
mov byte [esp + 0x428], bl
call fcn.0046eb50
mov byte [esp + 0x424], 4
mov dword [esp + 0x1c], 0xcd
mov dword [esp + 0x20], 0xcc
mov dword [esp + 0x24], 0xcb
mov dword [esp + 0x28], 0xca
mov dword [esp + 0x2c], 0xd1
mov dword [esp + 0x30], 0xd0
mov dword [esp + 0x34], 0xcf
mov dword [esp + 0x38], 0xce
mov dword [esp + 0x3c], 0xc5
mov dword [esp + 0x40], 0xc4
mov dword [esp + 0x44], 0xc3
mov dword [esp + 0x48], 0xc2
mov dword [esp + 0x4c], 0xc9
mov dword [esp + 0x50], 0xc8
mov dword [esp + 0x54], 0xc7
mov dword [esp + 0x58], 0xc6
mov dword [esp + 0x5c], 0xbd
mov dword [esp + 0x60], 0xbc
mov dword [esp + 0x64], 0xbb
mov dword [esp + 0x68], 0xba
mov dword [esp + 0x6c], 0xc1
mov dword [esp + 0x70], 0xc0
mov dword [esp + 0x74], 0xbf
mov dword [esp + 0x78], 0xbe
mov dword [esp + 0x7c], 0xb5
mov dword [esp + 0x80], 0xb4
mov dword [esp + 0x84], 0xb3
mov dword [esp + 0x88], 0xb2
mov dword [esp + 0x8c], 0xb9
mov dword [esp + 0x90], 0xb8
mov dword [esp + 0x94], 0xb7
mov dword [esp + 0x98], 0xb6
mov dword [esp + 0x9c], 0xed
mov dword [esp + 0xa0], 0xec
mov dword [esp + 0xa4], 0xeb
mov dword [esp + 0xa8], 0xea
mov dword [esp + 0xac], 0xf1
mov dword [esp + 0xb0], 0xf0
mov dword [esp + 0xb4], 0xef
mov dword [esp + 0xb8], 0xee
mov dword [esp + 0xbc], 0xe5
mov dword [esp + 0xc0], 0xe4
mov dword [esp + 0xc4], 0xe3
mov dword [esp + 0xc8], 0xe2
mov dword [esp + 0xcc], 0xe9
mov dword [esp + 0xd0], 0xe8
mov dword [esp + 0xd4], 0xe7
mov dword [esp + 0xd8], 0xe6
mov dword [esp + 0xdc], 0xdd
mov dword [esp + 0xe0], 0xdc
mov dword [esp + 0xe4], 0xdb
mov dword [esp + 0xe8], 0xda
mov dword [esp + 0xec], 0xe1
mov dword [esp + 0xf0], pe_nt_image_headers32
mov dword [esp + 0xf4], 0xdf
mov dword [esp + 0xf8], 0xde
mov dword [esp + 0xfc], 0xd5
mov dword [esp + 0x100], 0xd4
mov dword [esp + 0x104], 0xd3
mov dword [esp + 0x108], 0xd2
mov dword [esp + 0x10c], 0xd9
mov dword [esp + 0x110], 0xd8
mov dword [esp + 0x114], 0xd7
mov dword [esp + 0x118], 0xd6
mov dword [esp + 0x11c], 0xd
mov dword [esp + 0x120], 0xc
mov dword [esp + 0x124], 0xb
mov dword [esp + 0x128], 0xa
mov dword [esp + 0x12c], 0x11
mov dword [esp + 0x130], 0x10
mov dword [esp + 0x134], 0xf
mov dword [esp + 0x138], 0xe
mov dword [esp + 0x13c], 5
mov dword [esp + 0x140], 4
mov dword [esp + 0x144], ebx
mov dword [esp + 0x148], 2
mov dword [esp + 0x14c], 9
mov dword [esp + 0x150], 8
mov dword [esp + 0x154], 7
mov dword [esp + 0x158], 6
mov dword [esp + 0x15c], 0xfd
mov dword [esp + 0x160], 0xfc
mov dword [esp + 0x164], 0xfb
mov dword [esp + 0x168], 0xfa
mov dword [esp + 0x16c], esi
mov dword [esp + 0x170], 0
mov dword [esp + 0x174], 0xff
mov dword [esp + 0x178], 0xfe
mov dword [esp + 0x17c], 0xf5
mov dword [esp + 0x180], 0xf4
mov dword [esp + 0x184], 0xf3
mov dword [esp + 0x188], 0xf2
mov dword [esp + 0x18c], 0xf9
mov dword [esp + 0x190], 0xf8
mov dword [esp + 0x194], 0xf7
mov dword [esp + 0x198], 0xf6
mov dword [esp + 0x19c], 0x2d
mov dword [esp + 0x1a0], 0x2c
mov dword [esp + 0x1a4], 0x2b
mov dword [esp + 0x1a8], 0x2a
mov dword [esp + 0x1ac], 0x31
mov dword [esp + 0x1b0], 0x30
mov dword [esp + 0x1b4], 0x2f
mov dword [esp + 0x1b8], 0x2e
mov dword [esp + 0x1bc], 0x25
mov dword [esp + 0x1c0], 0x24
mov dword [esp + 0x1c4], 0x23
mov dword [esp + 0x1c8], 0x22
mov dword [esp + 0x1cc], 0x29
mov dword [esp + 0x1d0], 0x28
mov dword [esp + 0x1d4], 0x27
mov dword [esp + 0x1d8], 0x26
mov dword [esp + 0x1dc], 0x1d
mov dword [esp + 0x1e0], 0x1c
mov dword [esp + 0x1e4], 0x1b
mov dword [esp + 0x1e8], 0x1a
mov dword [esp + 0x1ec], 0x21
mov dword [esp + 0x1f0], 0x20
mov dword [esp + 0x1f4], 0x1f
mov dword [esp + 0x1f8], 0x1e
mov dword [esp + 0x1fc], 0x15
mov dword [esp + 0x200], 0x14
mov dword [esp + 0x204], 0x13
mov dword [esp + 0x208], 0x12
mov dword [esp + 0x20c], 0x19
mov dword [esp + 0x210], 0x18
mov dword [esp + 0x214], 0x17
mov dword [esp + 0x218], 0x16
mov dword [esp + 0x21c], 0x4d
mov dword [esp + 0x220], 0x4c
mov dword [esp + 0x224], 0x4b
mov dword [esp + 0x228], 0x4a
mov dword [esp + 0x22c], 0x51
mov dword [esp + 0x230], 0x50
mov dword [esp + 0x234], 0x4f
mov dword [esp + 0x238], 0x4e
mov dword [esp + 0x23c], 0x45
mov dword [esp + 0x240], 0x44
mov dword [esp + 0x244], 0x43
mov dword [esp + 0x248], 0x42
mov dword [esp + 0x24c], 0x49
mov dword [esp + 0x250], 0x48
mov dword [esp + 0x254], 0x47
mov dword [esp + 0x258], 0x46
mov dword [esp + 0x25c], 0x3d
mov dword [esp + 0x260], 0x3c
mov dword [esp + 0x264], 0x3b
mov dword [esp + 0x268], 0x3a
mov dword [esp + 0x26c], 0x41
mov dword [esp + 0x270], 0x40
mov dword [esp + 0x274], 0x3f
mov dword [esp + 0x278], 0x3e
mov dword [esp + 0x27c], 0x35
mov dword [esp + 0x280], 0x34
mov dword [esp + 0x284], 0x33
mov dword [esp + 0x288], 0x32
mov dword [esp + 0x28c], 0x39
mov dword [esp + 0x290], 0x38
mov dword [esp + 0x294], 0x37
mov dword [esp + 0x298], 0x36
mov dword [esp + 0x29c], 0x6d
mov dword [esp + 0x2a0], 0x6c
mov dword [esp + 0x2a4], 0x6b
mov dword [esp + 0x2a8], 0x6a
mov dword [esp + 0x2ac], 0x71
mov dword [esp + 0x2b0], 0x70
mov dword [esp + 0x2b4], 0x6f
mov dword [esp + 0x2b8], 0x6e
mov dword [esp + 0x2bc], 0x65
mov dword [esp + 0x2c0], 0x64
mov dword [esp + 0x2c4], 0x63
mov dword [esp + 0x2c8], 0x62
mov dword [esp + 0x2cc], 0x69
mov dword [esp + 0x2d0], 0x68
mov dword [esp + 0x2d4], 0x67
mov dword [esp + 0x2d8], 0x66
mov dword [esp + 0x2dc], 0x5d
mov dword [esp + 0x2e0], 0x5c
mov dword [esp + 0x2e4], 0x5b
mov dword [esp + 0x2e8], 0x5a
mov dword [esp + 0x2ec], 0x61
mov dword [esp + 0x2f0], 0x60
mov dword [esp + 0x2f4], 0x5f
mov dword [esp + 0x2f8], 0x5e
mov dword [esp + 0x2fc], 0x55
mov dword [esp + 0x300], 0x54
mov dword [esp + 0x304], 0x53
mov dword [esp + 0x308], 0x52
mov dword [esp + 0x30c], 0x59
mov dword [esp + 0x310], 0x58
mov dword [esp + 0x314], 0x57
mov dword [esp + 0x318], 0x56
mov dword [esp + 0x31c], 0x8d
mov dword [esp + 0x320], 0x8c
mov dword [esp + 0x324], 0x8b
mov dword [esp + 0x328], 0x8a
mov dword [esp + 0x32c], 0x91
mov dword [esp + 0x330], 0x90
mov dword [esp + 0x334], 0x8f
mov dword [esp + 0x338], 0x8e
mov dword [esp + 0x33c], 0x85
mov dword [esp + 0x340], 0x84
mov dword [esp + 0x344], 0x83
mov dword [esp + 0x348], 0x82
mov dword [esp + 0x34c], 0x89
mov dword [esp + 0x350], 0x88
mov dword [esp + 0x354], 0x87
mov dword [esp + 0x358], 0x86
mov dword [esp + 0x35c], 0x7d
mov dword [esp + 0x360], 0x7c
mov dword [esp + 0x364], 0x7b
mov dword [esp + 0x368], 0x7a
mov dword [esp + 0x36c], 0x81
mov dword [esp + 0x370], 0x80
mov dword [esp + 0x374], 0x7f
mov dword [esp + 0x378], 0x7e
mov dword [esp + 0x37c], 0x75
mov dword [esp + 0x380], 0x74
mov dword [esp + 0x384], 0x73
mov dword [esp + 0x388], 0x72
push ecx
mov dword [esp + 0x390], 0x79
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0
mov dword [esp + 0x398], 0x78
mov dword [esp + 0x39c], 0x77
mov dword [esp + 0x3a0], 0x76
mov dword [esp + 0x3a4], 0xad
mov dword [esp + 0x3a8], 0xac
mov dword [esp + 0x3ac], 0xab
mov dword [esp + 0x3b0], 0xaa
mov dword [esp + 0x3b4], 0xb1
mov dword [esp + 0x3b8], 0xb0
mov dword [esp + 0x3bc], 0xaf
mov dword [esp + 0x3c0], 0xae
mov dword [esp + 0x3c4], 0xa5
mov dword [esp + 0x3c8], 0xa4
mov dword [esp + 0x3cc], 0xa3
mov dword [esp + 0x3d0], 0xa2
mov dword [esp + 0x3d4], 0xa9
mov dword [esp + 0x3d8], 0xa8
mov dword [esp + 0x3dc], 0xa7
mov dword [esp + 0x3e0], 0xa6
mov dword [esp + 0x3e4], 0x9d
mov dword [esp + 0x3e8], 0x9c
mov dword [esp + 0x3ec], 0x9b
mov dword [esp + 0x3f0], 0x9a
mov dword [esp + 0x3f4], 0xa1
mov dword [esp + 0x3f8], 0xa0
mov dword [esp + 0x3fc], 0x9f
mov dword [esp + 0x400], 0x9e
mov dword [esp + 0x404], 0x95
mov dword [esp + 0x408], 0x94
mov dword [esp + 0x40c], 0x93
mov dword [esp + 0x410], 0x92
mov dword [esp + 0x414], 0x99
mov dword [esp + 0x418], 0x98
mov dword [esp + 0x41c], 0x97
mov dword [esp + 0x420], 0x96
call fcn.0046eb50
lea ecx, [esp + 0x10]
call fcn.0046ee50
push 0
lea ecx, [esp + 0x10]
call fcn.0046efc0
lea ecx, [esp + 0x42c]
push ecx
lea ecx, [esp + 0x10]
call fcn.0046edf0
push esi
lea ecx, [esp + 0x10]
call fcn.0046efc0
push 0x4b63c8
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0046eb30
mov ecx, dword [0x4b63dc]
call fcn.004104a0
cmp ax, si
je 0x43e323
lea ecx, [esp + 0xc]
mov byte [esp + 0x424], bl
call fcn.0046ec60
lea ecx, [esp + 0x10]
mov byte [esp + 0x424], 2
call fcn.0046ec60
lea ecx, [esp + 0x14]
mov byte [esp + 0x424], 1
call fcn.0046ec60
lea ecx, [esp + 0x42c]
mov byte [esp + 0x424], 0
call fcn.0046ec60
mov ebx, dword [esp + 0x434]
mov edi, dword [esp + 0x438]
cmp ebx, edi
mov dword [esp + 0x424], 0xffffffff
mov esi, ebx
je 0x43e312
mov ecx, esi
call fcn.0046ec60
add esi, 4
cmp esi, edi
jne 0x43e304
push ebx
call fcn.0048d500
add esp, 4
xor ax, ax
jmp 0x43e593
push 0
mov ecx, 0x4b63c8
call fcn.00401ba0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0046eb30
lea ecx, [esp + 0x18]
call fcn.0046ee50
lea ecx, [esp + 0x14]
call fcn.0046efe0
cmp ax, 4
jge 0x43e3dc
lea ecx, [esp + 0xc]
mov byte [esp + 0x424], bl
call fcn.0046ec60
lea ecx, [esp + 0x10]
mov byte [esp + 0x424], 2
call fcn.0046ec60
lea ecx, [esp + 0x14]
mov byte [esp + 0x424], 1
call fcn.0046ec60
lea ecx, [esp + 0x42c]
mov byte [esp + 0x424], 0
call fcn.0046ec60
mov ebx, dword [esp + 0x434]
mov edi, dword [esp + 0x438]
cmp ebx, edi
mov dword [esp + 0x424], 0xffffffff
mov esi, ebx
je 0x43e3cb
mov ecx, esi
call fcn.0046ec60
add esi, 4
cmp esi, edi
jne 0x43e3bd
push ebx
call fcn.0048d500
add esp, 4
xor ax, ax
jmp 0x43e593
push esi
lea ecx, [esp + 0x14]
call fcn.0046ee40
inc al
lea ecx, [esp + 0x10]
push eax
push esi
call fcn.0046ef60
push 0xa9
lea ecx, [esp + 0x14]
call fcn.0046ee20
push ebx
lea ecx, [esp + 0x18]
call fcn.0046ee40
mov dl, al
push 2
and edx, 0xff
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], edx
call fcn.0046ee40
mov ecx, dword [esp + 0x18]
and eax, 0xff
xor ecx, eax
mov dl, byte [esp + ecx*4 + 0x1c]
lea ecx, [esp + 0x10]
push edx
call fcn.0046ee20
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0
call fcn.0046eb50
lea ecx, [esp + 0x10]
call fcn.0046ee50
push 0
lea ecx, [esp + 0x10]
call fcn.0046efc0
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
call fcn.0046edf0
push 1
lea ecx, [esp + 0x10]
call fcn.0046efc0
push 0x4b63c8
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0046eb30
mov ecx, dword [0x4b63dc]
call fcn.004104a0
cmp ax, 1
mov byte [esp + 0x424], bl
lea ecx, [esp + 0xc]
je 0x43e51e
call fcn.0046ec60
lea ecx, [esp + 0x10]
mov byte [esp + 0x424], 2
call fcn.0046ec60
lea ecx, [esp + 0x14]
mov byte [esp + 0x424], 1
call fcn.0046ec60
lea ecx, [esp + 0x42c]
mov byte [esp + 0x424], 0
call fcn.0046ec60
mov ebx, dword [esp + 0x434]
mov edi, dword [esp + 0x438]
cmp ebx, edi
mov dword [esp + 0x424], 0xffffffff
mov esi, ebx
je 0x43e510
mov ecx, esi
call fcn.0046ec60
add esi, 4
cmp esi, edi
jne 0x43e502
push ebx
call fcn.0048d500
add esp, 4
xor ax, ax
jmp 0x43e593
call fcn.0046ec60
lea ecx, [esp + 0x10]
mov byte [esp + 0x424], 2
call fcn.0046ec60
lea ecx, [esp + 0x14]
mov byte [esp + 0x424], 1
call fcn.0046ec60
lea ecx, [esp + 0x42c]
mov byte [esp + 0x424], 0
call fcn.0046ec60
mov edi, dword [esp + 0x434]
mov ebx, dword [esp + 0x438]
cmp edi, ebx
mov dword [esp + 0x424], 0xffffffff
mov esi, edi
je 0x43e586
mov ecx, esi
call fcn.0046ec60
add esi, 4
cmp esi, ebx
jne 0x43e578
push edi
call fcn.0048d500
add esp, 4
mov ax, 1
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x41c
ret 0x14