Function at 0x40a8f0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4510d2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46c8b0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], vtable.CThemeInfo.0
call fcn.00417b8f
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40a93d
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 8], eax
mov dword [esp + 0x20], ebp
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40a96a
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [esp + 0x20], 1
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40a998
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov byte [esp + 0x20], 2
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40a9c6
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [esp + 0x20], 3
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40a9f4
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x1c], eax
mov byte [esp + 0x20], 4
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40aa22
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [esp + 0x20], 5
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40aa50
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x24], eax
mov byte [esp + 0x20], 6
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40aa7e
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [esp + 0x20], 7
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40aaac
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x2c], eax
mov byte [esp + 0x20], 8
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40aada
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x30], eax
mov byte [esp + 0x20], 9
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40ab08
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x34], eax
mov byte [esp + 0x20], 0xa
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40ab36
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x40], eax
mov byte [esp + 0x20], 0xb
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40ab64
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x54], eax
mov byte [esp + 0x20], 0xc
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40ab92
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x64], eax
mov byte [esp + 0x20], 0xd
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40abc0
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x68], eax
mov byte [esp + 0x20], 0xe
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40abee
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x6c], eax
mov byte [esp + 0x20], 0xf
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40ac1c
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x70], eax
mov byte [esp + 0x20], 0x10
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40ac4a
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x74], eax
mov byte [esp + 0x20], 0x11
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40ac78
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x78], eax
mov byte [esp + 0x20], 0x12
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40aca6
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x7c], eax
mov byte [esp + 0x20], 0x13
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40acd4
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x80], eax
mov byte [esp + 0x20], 0x14
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40ad05
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x84], eax
mov byte [esp + 0x20], 0x15
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40ad36
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x88], eax
mov byte [esp + 0x20], 0x16
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40ad67
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x8c], eax
mov byte [esp + 0x20], 0x17
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40ad98
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x90], eax
mov byte [esp + 0x20], 0x18
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40adc9
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x94], eax
mov byte [esp + 0x20], 0x19
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40adfa
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x98], eax
mov byte [esp + 0x20], 0x1a
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40ae2b
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x9c], eax
mov byte [esp + 0x20], 0x1b
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40ae5c
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xa0], eax
mov byte [esp + 0x20], 0x1c
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40ae8d
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xa4], eax
mov byte [esp + 0x20], 0x1d
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40aebe
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xa8], eax
mov byte [esp + 0x20], 0x1e
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40aeef
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xac], eax
mov byte [esp + 0x20], 0x1f
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40af20
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xb0], eax
mov byte [esp + 0x20], 0x20
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40af51
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xb4], eax
mov byte [esp + 0x20], 0x21
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40af82
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xb8], eax
mov byte [esp + 0x20], 0x22
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40afb3
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xbc], eax
mov byte [esp + 0x20], 0x23
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40afe4
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc0], eax
mov byte [esp + 0x20], 0x24
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40b015
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc4], eax
mov byte [esp + 0x20], 0x25
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40b046
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc8], eax
mov byte [esp + 0x20], 0x26
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40b077
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xcc], eax
mov byte [esp + 0x20], 0x27
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40b0a8
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xd0], eax
mov byte [esp + 0x20], 0x28
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40b0d9
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xd4], eax
mov byte [esp + 0x20], 0x29
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40b10a
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xd8], eax
mov byte [esp + 0x20], 0x2a
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40b13b
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xdc], eax
mov byte [esp + 0x20], 0x2b
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40b16c
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xe0], eax
mov byte [esp + 0x20], 0x2c
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40b19d
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xe4], eax
mov byte [esp + 0x20], 0x2d
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40b1ce
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xe8], eax
mov byte [esp + 0x20], 0x2e
lea ebx, [esi + 0xec]
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40b205
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x20], 0x2f
lea edi, [esi + 0xf0]
call fcn.00417b8f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40b238
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
push ebp
push 0x455b91
lea ecx, [esi + 8]
mov byte [esp + 0x28], 0x30
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], 2
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x14]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x1c]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x18]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x20]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x24]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x28]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x2c]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x30]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x68]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x6c]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x70]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x74]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x78]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x7c]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x80]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x84]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x88]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x8c]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x90]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x94]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x98]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x9c]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0xa0]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0xa4]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0xa8]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0xac]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0xb0]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0xb4]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0xb8]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0xbc]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0xc0]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0xc4]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0xc8]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0xcc]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0xd0]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0xd4]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0xd8]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0xdc]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0xe0]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0xe4]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0xe8]
call fcn.00401fa0
push ebp
push 0x455b91
mov ecx, ebx
call fcn.00401fa0
push ebp
push 0x455b91
mov ecx, edi
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x34]
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x40]
mov dword [esi + 0x3c], 1
call fcn.00401fa0
push ebp
push 0x455b91
lea ecx, [esi + 0x54]
mov dword [esi + 0x48], ebp
mov dword [esi + 0x44], 0xb
call fcn.00401fa0
mov dword [esi + 0x58], ebp
mov dword [esi + 0x5c], 0xe15300
mov dword [esi + 4], ebp
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret