Function at 0x450f80
Capabilities:
Extract resource via kernel32 functions
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x60a0c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
push edi
mov edi, dword [esp + 0x3c]
push eax
push esi
push ecx
push edi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov ebp, eax
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebp
push edi
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
shl esi, 4
shr eax, 1
sub esi, 0x10
xor ecx, ecx
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], ecx
cmp ecx, eax
jge 0x451199
mov bp, word [ebx + ecx*2]
inc ecx
test bp, bp
mov dword [esp + 0x44], ecx
je 0x451187
mov edx, dword [0x6abf00]
mov dword [esp + 0x48], edx
push 0
push 0
and ebp, 0xffff
push 0
lea ebx, [ebx + ecx*2]
push 0
push ebp
push ebx
push 0
push 0
mov dword [esp + 0x50], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
lea ecx, [esp + 0x48]
push edi
call fcn.005dd60b
push 0
push 0
push edi
push eax
push ebp
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
lea ecx, [esp + 0x4c]
call fcn.005dd5e3
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x3c]
add eax, ecx
push edx
mov ecx, esi
mov dword [esp + 0x40], eax
call fcn.00451870
test eax, eax
jne 0x451113
mov eax, dword [0x6abf00]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
or al, 1
mov dword [esp + 0x10], eax
mov cx, word [esp + 0x3c]
lea edx, [esp + 0x38]
mov word [esp + 0x20], cx
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], 1
call fcn.005dcf25
mov edi, dword [esp + 0x10]
mov eax, 2
or edi, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x10]
inc eax
mov ecx, esi
push eax
call fcn.00451630
mov ecx, dword [esi + 8]
mov ebx, dword [esi + 4]
mov eax, dword [esp + 0x20]
sub ecx, ebx
sar ecx, 2
and eax, 0xffff
xor edx, edx
div ecx
mov eax, ebx
mov ecx, esi
mov edi, edx
lea edx, [esp + 0x20]
push edx
mov ebx, dword [eax + edi*4]
call fcn.00451590
mov dword [eax], ebx
mov ecx, dword [esi + 4]
mov dword [ecx + edi*4], eax
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
mov ebx, dword [esp + 0x10]
lea edi, [eax + 8]
test bl, 2
mov dword [esp + 0x30], 1
je 0x451137
and ebx, 0xfffffffd
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], ebx
call fcn.005dd1b0
test bl, 1
mov dword [esp + 0x30], 0
je 0x451154
and ebx, 0xfffffffe
lea ecx, [esp + 0x38]
mov dword [esp + 0x10], ebx
call fcn.005dd1b0
lea eax, [esp + 0x48]
mov ecx, edi
push eax
call fcn.005dd29d
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
add eax, ebp
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x44], eax
call fcn.005dd1b0
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
inc edx
cmp edx, 0x10
mov dword [esp + 0x40], edx
jl 0x450ff7
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret