Function at 0x408750
Capabilities:
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49a17d
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x4d4028]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x77c]
push 0
push 0
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x1c]
call dword [0x4a2ef4]
push 0x1c
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0xb0], 0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
push 0x4d6674
call esi
neg eax
sbb eax, eax
and eax, dword [esp + 0x50]
push 0xc5d
push eax
lea ecx, [esp + 0x24]
call dword [0x4a2ec8]
push 0
push 0
push 0
push 0
mov dword [esp + 0xb8], 1
mov edx, dword [esp + 0x2c]
push edx
push 0
add edi, 0x75c
push 1
mov ecx, edi
call fcn.0049009c
lea ecx, [esp + 0x1c]
call dword [0x4a2ee8]
lea ecx, [esp + 0x1c]
call dword [0x4a2ef4]
push 0x1c
lea eax, [esp + 0x50]
push eax
push 0x4d6674
mov dword [esp + 0xb4], 2
call esi
neg eax
sbb eax, eax
and eax, dword [esp + 0x50]
push 0x992
push eax
lea ecx, [esp + 0x24]
call dword [0x4a2ec8]
mov dword [esp + 0xa8], 3
mov ecx, dword [esp + 0x1c]
push ecx
push 1
push 0
mov ecx, edi
call fcn.004900ba
lea ecx, [esp + 0x1c]
call dword [0x4a2ee8]
xor ebx, ebx
call fcn.00461e18
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 0xa8], 4
mov eax, dword [edx + 0x6b0]
mov ecx, eax
shr ecx, 0x18
mov edx, eax
shr edx, 0x10
mov byte [esp + 0x1c], cl
mov byte [esp + 0x1d], dl
mov ecx, eax
push ebx
push ebx
lea edx, [esp + 0x38]
mov byte [esp + 0x27], al
push edx
lea eax, [esp + 0x28]
shr ecx, 8
push eax
mov byte [esp + 0x2e], cl
call fcn.00462dd4
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x4089e1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x77c]
push ebx
push ebx
push 0x1009
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x14]
call dword [0x4a2ef4]
push 0x1c
lea eax, [esp + 0x84]
push eax
push 0x4d6674
mov byte [esp + 0xb4], 5
call esi
neg eax
sbb eax, eax
and eax, dword [esp + 0x84]
push 0xc5d
push eax
lea ecx, [esp + 0x1c]
call dword [0x4a2ec8]
push ebx
push ebx
push ebx
push ebx
mov byte [esp + 0xb8], 6
mov ecx, dword [esp + 0x24]
push ecx
push ebx
push 1
mov ecx, edi
call fcn.0049009c
lea ecx, [esp + 0x14]
call dword [0x4a2ee8]
lea ecx, [esp + 0x14]
call dword [0x4a2ef4]
push 0x1c
lea edx, [esp + 0x84]
push edx
push 0x4d6674
mov byte [esp + 0xb4], 7
call esi
neg eax
sbb eax, eax
and eax, dword [esp + 0x84]
push 0x993
push eax
lea ecx, [esp + 0x1c]
call dword [0x4a2ec8]
mov byte [esp + 0xa8], 8
mov eax, dword [esp + 0x14]
push eax
push 1
push ebx
mov ecx, edi
call fcn.004900ba
lea ecx, [esp + 0x14]
call dword [0x4a2ee8]
call fcn.00461e18
lea eax, [esp + 0x30]
mov dword [esp + 0xa8], 0xffffffff
call fcn.00403bb0
mov eax, 1
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x29]
push ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x37]
push ecx
lea edx, [esp + 0x33]
push edx
lea ecx, [esp + 0x32]
push ecx
lea edx, [esp + 0x3a]
push edx
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x4e]
push ecx
lea edx, [esp + 0x4f]
push edx
call fcn.0045d31a
lea eax, [esp + 0x22]
push eax
lea ecx, [esp + 0x27]
push ecx
lea edx, [esp + 0x32]
push edx
lea eax, [esp + 0x39]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x35]
push ecx
call fcn.0045d4d6
test al, al
jne 0x408ac8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x77c]
push ebx
push ebx
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0xc5d
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403ae0
push ebx
push ebx
push ebx
push ebx
mov byte [esp + 0xb8], 9
mov eax, dword [eax]
push eax
push ebx
push 1
mov ecx, edi
call fcn.0049009c
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 4
call dword [0x4a2ee8]
push ebx
push 0x990
lea edx, [esp + 0x1c]
push edx
call fcn.00403ae0
mov byte [esp + 0xa8], 0xa
mov eax, dword [eax]
push eax
push 1
push ebx
mov ecx, edi
call fcn.004900ba
lea ecx, [esp + 0x14]
call dword [0x4a2ee8]
jmp 0x4089b0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x18]
call dword [0x4a2ef4]
lea ecx, [esp + 0x18]
mov byte [esp + 0xa8], 0xc
call dword [0x4a2db4]
cmp byte [esp + 0x2b], 0
je 0x408b2c
push ebx
push 0x9f6
lea eax, [esp + 0x1c]
push eax
call fcn.00403ae0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 0xd
call dword [0x4a2db0]
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 0xc
call dword [0x4a2ee8]
cmp byte [esp + 0x2e], 0
je 0x408b80
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], ebx
je 0x408b4b
push 0x4a5028
lea ecx, [esp + 0x1c]
call dword [0x4a2dbc]
push ebx
push 0x9f7
lea edx, [esp + 0x1c]
push edx
call fcn.00403ae0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 0xe
call dword [0x4a2db0]
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 0xc
call dword [0x4a2ee8]
cmp byte [esp + 0x28], 0
je 0x408bd4
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ebx
je 0x408b9f
push 0x4a5028
lea ecx, [esp + 0x1c]
call dword [0x4a2dbc]
push ebx
push 0x9f8
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403ae0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 0xf
call dword [0x4a2db0]
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 0xc
call dword [0x4a2ee8]
cmp byte [esp + 0x24], 0
je 0x408c28
mov edx, dword [esp + 0x18]
cmp dword [edx - 0xc], ebx
je 0x408bf3
push 0x4a5028
lea ecx, [esp + 0x1c]
call dword [0x4a2dbc]
push ebx
push 0x9f9
lea eax, [esp + 0x1c]
push eax
call fcn.00403ae0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 0x10
call dword [0x4a2db0]
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 0xc
call dword [0x4a2ee8]
cmp byte [esp + 0x26], 0
je 0x408c7c
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], ebx
je 0x408c47
push 0x4a5028
lea ecx, [esp + 0x1c]
call dword [0x4a2dbc]
push ebx
push 0x9fa
lea edx, [esp + 0x1c]
push edx
call fcn.00403ae0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 0x11
call dword [0x4a2db0]
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 0xc
call dword [0x4a2ee8]
cmp byte [esp + 0x25], 0
je 0x408cd0
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ebx
je 0x408c9b
push 0x4a5028
lea ecx, [esp + 0x1c]
call dword [0x4a2dbc]
push ebx
push 0x9fb
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403ae0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 0x12
call dword [0x4a2db0]
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 0xc
call dword [0x4a2ee8]
cmp byte [esp + 0x2d], 0
je 0x408d24
mov edx, dword [esp + 0x18]
cmp dword [edx - 0xc], ebx
je 0x408cef
push 0x4a5028
lea ecx, [esp + 0x1c]
call dword [0x4a2dbc]
push ebx
push 0x9fc
lea eax, [esp + 0x1c]
push eax
call fcn.00403ae0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 0x13
call dword [0x4a2db0]
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 0xc
call dword [0x4a2ee8]
push ebx
push 0x9b9
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403ae0
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0xb4], 0x14
call fcn.00403920
push eax
lea esi, [esp + 0x40]
mov byte [esp + 0xac], 0x15
call fcn.00402e80
lea ecx, [esp + 0x50]
call dword [0x4a2ee8]
lea ecx, [esp + 0x4c]
call dword [0x4a2ee8]
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 0xc
call dword [0x4a2ee8]
lea ecx, [esp + 0x18]
call dword [0x4a2db4]
cmp byte [esp + 0x27], 0
je 0x408dca
push ebx
push 0x9fd
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403ae0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 0x16
call dword [0x4a2db0]
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 0xc
call dword [0x4a2ee8]
cmp byte [esp + 0x2f], 0
je 0x408e1e
mov edx, dword [esp + 0x18]
cmp dword [edx - 0xc], ebx
je 0x408de9
push 0x4a5028
lea ecx, [esp + 0x1c]
call dword [0x4a2dbc]
push ebx
push 0x9fe
lea eax, [esp + 0x1c]
push eax
call fcn.00403ae0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 0x17
call dword [0x4a2db0]
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 0xc
call dword [0x4a2ee8]
cmp byte [esp + 0x2c], 0
je 0x408e72
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], ebx
je 0x408e3d
push 0x4a5028
lea ecx, [esp + 0x1c]
call dword [0x4a2dbc]
push ebx
push 0x9ff
lea edx, [esp + 0x1c]
push edx
call fcn.00403ae0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 0x18
call dword [0x4a2db0]
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 0xc
call dword [0x4a2ee8]
cmp byte [esp + 0x29], 0
je 0x408ec6
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ebx
je 0x408e91
push 0x4a5028
lea ecx, [esp + 0x1c]
call dword [0x4a2dbc]
push ebx
push 0xa00
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403ae0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 0x19
call dword [0x4a2db0]
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 0xc
call dword [0x4a2ee8]
cmp byte [esp + 0x2a], 0
je 0x408f1a
mov edx, dword [esp + 0x18]
cmp dword [edx - 0xc], ebx
je 0x408ee5
push 0x4a5028
lea ecx, [esp + 0x1c]
call dword [0x4a2dbc]
push ebx
push 0xa01
lea eax, [esp + 0x1c]
push eax
call fcn.00403ae0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 0x1a
call dword [0x4a2db0]
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 0xc
call dword [0x4a2ee8]
cmp byte [esp + 0x23], 0
je 0x408f6e
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], ebx
je 0x408f39
push 0x4a5028
lea ecx, [esp + 0x1c]
call dword [0x4a2dbc]
push ebx
push 0xa02
lea edx, [esp + 0x1c]
push edx
call fcn.00403ae0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 0x1b
call dword [0x4a2db0]
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 0xc
call dword [0x4a2ee8]
cmp byte [esp + 0x22], 0
je 0x408fc2
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ebx
je 0x408f8d
push 0x4a5028
lea ecx, [esp + 0x1c]
call dword [0x4a2dbc]
push ebx
push 0xa03
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403ae0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xac], 0x1c
call dword [0x4a2db0]
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 0xc
call dword [0x4a2ee8]
push ebx
push 0x9ba
lea edx, [esp + 0x1c]
push edx
call fcn.00403ae0
lea ecx, [esp + 0x18]
push ecx
push eax
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0xb4], 0x1d
call fcn.00403920
push eax
lea esi, [esp + 0x40]
mov byte [esp + 0xac], 0x1e
call fcn.00402e80
lea ecx, [esp + 0x50]
call dword [0x4a2ee8]
lea ecx, [esp + 0x4c]
call dword [0x4a2ee8]
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 0xc
call dword [0x4a2ee8]
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x88]
push eax
mov eax, dword [esp + 0x40]
call fcn.0045dc47
test al, al
je 0x409158
lea ecx, [esp + 0x1c]
call dword [0x4a2ef4]
mov byte [esp + 0xa8], 0x1f
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x7c]
push ecx
push edx
lea eax, [esp + 0x24]
push 0x855
push eax
call dword [0x4a2db8]
add esp, 0x10
push ebx
push 0x9bb
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403ae0
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0xb4], 0x20
call fcn.00403920
push eax
mov byte [esp + 0xac], 0x21
call fcn.00402e80
lea ecx, [esp + 0x50]
call dword [0x4a2ee8]
lea ecx, [esp + 0x4c]
call dword [0x4a2ee8]
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 0x1f
call dword [0x4a2ee8]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x78]
push ecx
push edx
lea eax, [esp + 0x24]
push 0x856
push eax
call dword [0x4a2db8]
add esp, 0x10
push ebx
push 0x9bc
lea ecx, [esp + 0x7c]
push ecx
call fcn.00403ae0
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0xb4], 0x22
call fcn.00403920
push eax
mov byte [esp + 0xac], 0x23
call fcn.00402e80
lea ecx, [esp + 0x50]
call dword [0x4a2ee8]
lea ecx, [esp + 0x4c]
call dword [0x4a2ee8]
lea ecx, [esp + 0x74]
call dword [0x4a2ee8]
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], 0xc
call dword [0x4a2ee8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x77c]
push ebx
push ebx
push 0x1009
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
cmp esi, eax
jbe 0x409185
call dword [0x4a3094]
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x40], eax
mov dword [esp + 0x14], eax
jbe 0x409199
call dword [0x4a3094]
mov eax, dword [esp + 0x44]
cmp esi, dword [esp + 0x14]
je 0x4091f2
cmp esi, eax
jb 0x4091a9
call dword [0x4a3094]
mov eax, dword [esi]
push 0
push 0
push 0
push 0
push eax
push ebx
push 1
mov ecx, edi
call fcn.0049009c
cmp esi, dword [esp + 0x44]
jb 0x4091ca
call dword [0x4a3094]
mov ecx, dword [esi + 4]
push ecx
push 1
push ebx
mov ecx, edi
call fcn.004900ba
mov eax, dword [esp + 0x44]
add ebx, 1
cmp esi, eax
jb 0x4091ed
call dword [0x4a3094]
mov eax, dword [esp + 0x44]
add esi, 0x18
jmp 0x409185
mov ecx, dword [ebp + 8]
push 0
call fcn.004900b4
lea ecx, [esp + 0x18]
call dword [0x4a2ee8]
lea ebx, [esp + 0x3c]
call fcn.00403000
or edi, 0xffffffff
mov dword [esp + 0xa8], edi
mov eax, dword [esp + 0x34]
test eax, eax
mov esi, dword [esp + 0x30]
je 0x40922b
mov dword [esi + 0x4fc], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40923b
push eax
mov eax, esi
call fcn.0045c626
add dword [esi + 0x500], edi
jne 0x409257
push esi
call fcn.00463050
test al, al
jne 0x409257
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
xor eax, eax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4