Function at 0x40b450
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Check os version
Get number of processors
Get process heap flags
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x4014d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401208
mov ecx, dword [0x410054]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor edi, edi
mov edx, 0x402760
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edi
call esi
mov eax, dword [0x410054]
mov edx, 0x4027a8
lea ecx, [eax + 4]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4027f0
add ecx, 8
call esi
mov eax, dword [0x410054]
mov edx, 0x40283c
lea ecx, [eax + 0xc]
call esi
mov ecx, dword [0x410054]
mov edx, 0x402884
add ecx, 0x10
call esi
mov eax, dword [0x410054]
mov edx, 0x4028cc
lea ecx, [eax + 0x14]
call esi
mov ecx, dword [0x410054]
mov edx, 0x402914
add ecx, 0x18
call esi
mov eax, dword [0x410054]
mov edx, 0x40295c
lea ecx, [eax + 0x1c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4029a4
add ecx, 0x20
call esi
mov eax, dword [0x410054]
mov edx, 0x4029ec
lea ecx, [eax + 0x24]
call esi
mov ecx, dword [0x410054]
mov edx, 0x402a34
add ecx, 0x28
call esi
mov eax, dword [0x410054]
mov edx, 0x402a7c
lea ecx, [eax + 0x2c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x402ac4
add ecx, 0x30
call esi
mov eax, dword [0x410054]
mov edx, 0x402b0c
lea ecx, [eax + 0x34]
call esi
mov ecx, dword [0x410054]
mov edx, 0x402b54
add ecx, 0x38
call esi
mov eax, dword [0x410054]
mov edx, 0x402b9c
lea ecx, [eax + 0x3c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x402be4
add ecx, 0x40
call esi
mov eax, dword [0x410054]
mov edx, 0x402c2c
lea ecx, [eax + 0x44]
call esi
mov ecx, dword [0x410054]
mov edx, 0x402c74
add ecx, 0x48
call esi
mov eax, dword [0x410054]
mov edx, 0x402cbc
lea ecx, [eax + 0x4c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4027f0
add ecx, 0x50
call esi
mov eax, dword [0x410054]
mov edx, 0x4027f0
lea ecx, [eax + 0x54]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4027f0
add ecx, 0x58
call esi
mov eax, dword [0x410054]
mov edx, 0x4027f0
lea ecx, [eax + 0x5c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x402d04
add ecx, 0x60
call esi
mov eax, dword [0x410054]
mov edx, 0x4027f0
lea ecx, [eax + 0x64]
call esi
mov ecx, dword [0x410054]
mov edx, 0x402d4c
add ecx, 0x68
call esi
mov eax, dword [0x410054]
mov edx, 0x402d94
lea ecx, [eax + 0x6c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x402ddc
add ecx, 0x70
call esi
mov eax, dword [0x410054]
mov edx, 0x402e24
lea ecx, [eax + 0x74]
call esi
mov ecx, dword [0x410054]
mov edx, 0x402e6c
add ecx, 0x78
call esi
mov eax, dword [0x410054]
mov edx, 0x402eb4
lea ecx, [eax + 0x7c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x402efc
add ecx, 0x80
call esi
mov eax, dword [0x410054]
mov edx, 0x402f44
lea ecx, [eax + 0x84]
call esi
mov ecx, dword [0x410054]
mov edx, 0x402f8c
add ecx, 0x88
call esi
mov eax, dword [0x410054]
mov edx, 0x4027f0
lea ecx, [eax + 0x8c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x402fd4
add ecx, 0x90
call esi
mov eax, dword [0x410054]
mov edx, 0x40301c
lea ecx, [eax + 0x94]
call esi
mov ecx, dword [0x410054]
mov edx, 0x403064
add ecx, 0x98
call esi
mov eax, dword [0x410054]
mov edx, 0x4027f0
lea ecx, [eax + 0x9c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4027f0
add ecx, 0xa0
call esi
mov eax, dword [0x410054]
mov edx, 0x4027f0
lea ecx, [eax + 0xa4]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4027f0
add ecx, 0xa8
call esi
mov eax, dword [0x410054]
mov edx, 0x4027f0
lea ecx, [eax + 0xac]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4027f0
add ecx, 0xb0
call esi
mov eax, dword [0x410054]
mov edx, 0x4027f0
lea ecx, [eax + 0xb4]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4027f0
add ecx, 0xb8
call esi
mov eax, dword [0x410054]
mov edx, 0x4027f0
lea ecx, [eax + 0xbc]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4027f0
add ecx, 0xc0
call esi
mov eax, dword [0x410054]
mov edx, 0x4027f0
lea ecx, [eax + 0xc4]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4027f0
add ecx, 0xc8
call esi
mov eax, dword [0x410054]
mov edx, 0x4027f0
lea ecx, [eax + 0xcc]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4027f0
add ecx, 0xd0
call esi
mov eax, dword [0x410054]
mov edx, 0x4027f0
lea ecx, [eax + 0xd4]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4027f0
add ecx, 0xd8
call esi
mov eax, dword [0x410054]
mov edx, 0x4027f0
lea ecx, [eax + 0xdc]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4027f0
add ecx, 0xe0
call esi
mov eax, dword [0x410054]
mov edx, 0x4027f0
lea ecx, [eax + 0xe4]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4027f0
add ecx, 0xe8
call esi
mov eax, dword [0x410054]
mov edx, 0x4027f0
lea ecx, [eax + 0xec]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4027f0
add ecx, 0xf0
call esi
mov eax, dword [0x410054]
mov edx, 0x4027f0
lea ecx, [eax + 0xf4]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4027f0
add ecx, 0xf8
call esi
mov eax, dword [0x410054]
mov edx, 0x4027f0
lea ecx, [eax + 0xfc]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4030ac
add ecx, 0x100
call esi
mov eax, dword [0x410054]
mov edx, 0x4030f4
lea ecx, [eax + 0x104]
call esi
mov ecx, dword [0x410054]
mov edx, 0x40313c
add ecx, 0x108
call esi
mov eax, dword [0x410054]
mov edx, 0x403184
lea ecx, [eax + 0x10c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4031cc
add ecx, 0x110
call esi
mov eax, dword [0x410054]
mov edx, 0x403214
lea ecx, [eax + 0x114]
call esi
mov ecx, dword [0x410054]
mov edx, 0x40325c
add ecx, 0x118
call esi
mov eax, dword [0x410054]
mov edx, 0x4032a4
lea ecx, [eax + 0x11c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4032ec
add ecx, 0x120
call esi
mov eax, dword [0x410054]
mov edx, 0x403334
lea ecx, [eax + 0x124]
call esi
mov ecx, dword [0x410054]
mov edx, 0x40337c
add ecx, 0x128
call esi
mov eax, dword [0x410054]
mov edx, 0x4033c4
lea ecx, [eax + 0x12c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x40340c
add ecx, 0x130
call esi
mov eax, dword [0x410054]
mov edx, 0x403454
lea ecx, [eax + 0x134]
call esi
mov edx, 0x40349c
mov ecx, dword [0x410054]
add ecx, 0x138
call esi
mov eax, dword [0x410054]
mov edx, 0x4034e4
lea ecx, [eax + 0x13c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x40352c
add ecx, 0x140
call esi
mov eax, dword [0x410054]
mov edx, 0x403574
lea ecx, [eax + 0x144]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4035bc
add ecx, 0x148
call esi
mov eax, dword [0x410054]
mov edx, 0x403604
lea ecx, [eax + 0x14c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x40364c
add ecx, 0x150
call esi
mov eax, dword [0x410054]
mov edx, 0x403694
lea ecx, [eax + 0x154]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4036dc
add ecx, 0x158
call esi
mov eax, dword [0x410054]
mov edx, 0x403724
lea ecx, [eax + 0x15c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x40376c
add ecx, 0x160
call esi
mov eax, dword [0x410054]
mov edx, 0x4037b4
lea ecx, [eax + 0x164]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4037fc
add ecx, 0x168
call esi
mov eax, dword [0x410054]
mov edx, 0x403844
lea ecx, [eax + 0x16c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x40388c
add ecx, 0x170
call esi
mov eax, dword [0x410054]
mov edx, 0x4038d4
lea ecx, [eax + 0x174]
call esi
mov ecx, dword [0x410054]
mov edx, 0x40391c
add ecx, 0x178
call esi
mov eax, dword [0x410054]
mov edx, 0x403964
lea ecx, [eax + 0x17c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4039ac
add ecx, 0x180
call esi
mov eax, dword [0x410054]
mov edx, 0x4039f4
lea ecx, [eax + 0x184]
call esi
mov ecx, dword [0x410054]
mov edx, 0x403a3c
add ecx, 0x188
call esi
mov eax, dword [0x410054]
mov edx, 0x403a84
lea ecx, [eax + 0x18c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x403acc
add ecx, 0x190
call esi
mov eax, dword [0x410054]
mov edx, 0x403b14
lea ecx, [eax + 0x194]
call esi
mov ecx, dword [0x410054]
mov edx, 0x403b5c
add ecx, 0x198
call esi
mov eax, dword [0x410054]
mov edx, 0x403ba4
lea ecx, [eax + 0x19c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x403bec
add ecx, 0x1a0
call esi
mov eax, dword [0x410054]
mov edx, 0x403c34
lea ecx, [eax + 0x1a4]
call esi
mov ecx, dword [0x410054]
mov edx, 0x403c7c
add ecx, 0x1a8
call esi
mov eax, dword [0x410054]
mov edx, 0x403cc4
lea ecx, [eax + 0x1ac]
call esi
mov ecx, dword [0x410054]
mov edx, 0x403d0c
add ecx, 0x1b0
call esi
mov eax, dword [0x410054]
mov edx, 0x403d54
lea ecx, [eax + 0x1b4]
call esi
mov ecx, dword [0x410054]
mov edx, 0x403d9c
add ecx, 0x1b8
call esi
mov eax, dword [0x410054]
mov edx, 0x403de4
lea ecx, [eax + 0x1bc]
call esi
mov ecx, dword [0x410054]
mov edx, 0x403e2c
add ecx, 0x1c0
call esi
mov eax, dword [0x410054]
mov edx, 0x403e74
lea ecx, [eax + 0x1c4]
call esi
mov ecx, dword [0x410054]
mov edx, 0x403ebc
add ecx, 0x1c8
call esi
mov eax, dword [0x410054]
mov edx, 0x403f04
lea ecx, [eax + 0x1cc]
call esi
mov ecx, dword [0x410054]
mov edx, 0x403f4c
add ecx, 0x1d0
call esi
mov eax, dword [0x410054]
mov edx, 0x403f94
lea ecx, [eax + 0x1d4]
call esi
mov ecx, dword [0x410054]
mov edx, 0x403fdc
add ecx, 0x1d8
call esi
mov eax, dword [0x410054]
mov edx, 0x404024
lea ecx, [eax + 0x1dc]
call esi
mov ecx, dword [0x410054]
mov edx, 0x40406c
add ecx, 0x1e0
call esi
mov eax, dword [0x410054]
mov edx, 0x4040b4
lea ecx, [eax + 0x1e4]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4040fc
add ecx, 0x1e8
call esi
mov eax, dword [0x410054]
mov edx, 0x404144
lea ecx, [eax + 0x1ec]
call esi
mov ecx, dword [0x410054]
mov edx, 0x40418c
add ecx, 0x1f0
call esi
mov eax, dword [0x410054]
mov edx, 0x4041d4
lea ecx, [eax + 0x1f4]
call esi
mov ecx, dword [0x410054]
mov edx, 0x40421c
add ecx, 0x1f8
call esi
mov eax, dword [0x410054]
mov edx, 0x404264
lea ecx, [eax + 0x1fc]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4042ac
add ecx, 0x200
call esi
mov eax, dword [0x410054]
mov edx, 0x4042f4
lea ecx, [eax + 0x204]
call esi
mov ecx, dword [0x410054]
mov edx, 0x40433c
add ecx, 0x208
call esi
mov eax, dword [0x410054]
mov edx, 0x404384
lea ecx, [eax + 0x20c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4043cc
add ecx, 0x210
call esi
mov eax, dword [0x410054]
mov edx, 0x404414
lea ecx, [eax + 0x214]
call esi
mov ecx, dword [0x410054]
mov edx, 0x40445c
add ecx, 0x218
call esi
mov eax, dword [0x410054]
mov edx, 0x4044a4
lea ecx, [eax + 0x21c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4044ec
add ecx, 0x220
call esi
mov eax, dword [0x410054]
mov edx, 0x404534
lea ecx, [eax + 0x224]
call esi
mov ecx, dword [0x410054]
mov edx, 0x40457c
add ecx, 0x228
call esi
mov eax, dword [0x410054]
mov edx, 0x4045c4
lea ecx, [eax + 0x22c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x40460c
add ecx, 0x230
call esi
mov eax, dword [0x410054]
mov edx, 0x404654
lea ecx, [eax + 0x234]
call esi
mov ecx, dword [0x410054]
mov edx, 0x40469c
add ecx, 0x238
call esi
mov eax, dword [0x410054]
mov edx, 0x4046e4
lea ecx, [eax + 0x23c]
call esi
mov ecx, dword [0x410054]
mov edx, 0x40472c
add ecx, 0x240
call esi
mov eax, dword [0x410054]
mov edx, 0x404774
lea ecx, [eax + 0x244]
call esi
mov ecx, dword [0x410054]
mov edx, 0x4047bc
jmp fcn.00414bd6