Function at 0x1002f1e0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007854d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1008f040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
mov edi, dword [eax + 0x60]
mov eax, dword [eax + 0x64]
mov dword [ebp - 0x14], eax
add eax, 0xfffffffb
mov dword [ebp - 0x18], eax
mov eax, dword [0x100917dc]
lea ebx, [edi + 5]
mov dword [ebp - 0x24], edi
mov byte [ebp - 0xd], 0
mov ecx, dword [eax + 0x68]
mov eax, dword [0x100917fc]
mov esi, dword [ecx]
mov edx, dword [eax + 0x2bc]
mov eax, edx
shr eax, 0x18
push eax
mov eax, edx
shr eax, 0x10
movzx eax, al
push eax
mov eax, edx
shr eax, 8
movzx eax, al
push eax
movzx eax, dl
push eax
mov eax, dword [esi + 0x2c]
call eax
mov eax, dword [0x100917dc]
lea esi, [ebx + 0xa]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], esi
mov ecx, dword [eax + 0x68]
lea eax, [edx + 0xa]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
mov eax, dword [ecx]
push esi
push edx
push ebx
mov eax, dword [eax + 0x30]
call eax
mov eax, dword [0x100917dc]
add edi, 6
mov ebx, dword [ebp - 0x14]
add ebx, 0xfffffffc
mov ecx, dword [eax + 0x68]
mov eax, dword [0x100917fc]
mov esi, dword [ecx]
mov edx, dword [eax + 0x2b4]
mov eax, edx
shr eax, 0x18
push eax
mov eax, edx
shr eax, 0x10
movzx eax, al
push eax
mov eax, edx
shr eax, 8
movzx eax, al
push eax
movzx eax, dl
push eax
mov eax, dword [esi + 0x2c]
call eax
mov eax, dword [0x100917dc]
mov ecx, dword [eax + 0x68]
lea eax, [ebx + 8]
push eax
lea eax, [edi + 8]
push eax
mov edx, dword [ecx]
push ebx
push edi
mov eax, dword [edx + 0x30]
call eax
mov ecx, dword [0x10091854]
mov ebx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x400]
lea eax, [ebx + 5]
cmp edx, eax
jl 0x1002f354
cmp edx, dword [ebp - 0x2c]
jg 0x1002f354
mov eax, dword [ecx + 0x404]
cmp eax, dword [ebp - 0x18]
jl 0x1002f354
cmp eax, dword [ebp - 0x1c]
jg 0x1002f354
mov eax, dword [ebp - 0x28]
cmp byte [eax + 0x78], 0
jne 0x1002f354
cmp byte [eax + 0x79], 0
jne 0x1002f354
cmp byte [ecx + 0x408], 0
jne 0x1002f354
cmp dword [ecx + 4], 1
jne 0x1002f354
mov ecx, dword [ebp - 0x20]
push str.ui_buttonclick.wav
mov byte [ebp - 0xd], 1
cmp byte [ecx], 0
sete al
mov byte [ecx], al
mov eax, dword [0x100917dc]
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov eax, dword [ebp - 0x20]
cmp byte [eax], 0
je 0x1002f3ff
mov eax, dword [0x100917dc]
add ebx, 7
mov edi, dword [ebp - 0x14]
mov ecx, dword [eax + 0x68]
mov eax, dword [0x100917fc]
mov esi, dword [ecx]
mov edx, dword [eax + 0x2bc]
mov eax, edx
shr eax, 0x18
push eax
mov eax, edx
shr eax, 0x10
movzx eax, al
push eax
mov eax, edx
shr eax, 8
movzx eax, al
push eax
movzx eax, dl
push eax
mov eax, dword [esi + 0x2c]
call eax
mov eax, dword [0x100917dc]
lea esi, [edi + 3]
mov edx, dword [ebp - 0x14]
lea edi, [ebx + 6]
push esi
push edi
mov ecx, dword [eax + 0x68]
add edx, 0xfffffffd
push edx
push ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov eax, dword [0x100917dc]
push 0xff
push 0
push 0
mov ecx, dword [eax + 0x68]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov eax, dword [0x100917dc]
lea edi, [ebx + 6]
push 1
push 0x78
push 0
mov ecx, dword [eax + 0x68]
push esi
mov esi, dword [ebp - 0x14]
push edi
mov eax, dword [ecx]
lea edx, [esi - 3]
push edx
mov eax, dword [eax + 0x1d8]
push ebx
call eax
mov ebx, dword [ebp - 0x24]
jmp 0x1002f402
mov esi, dword [ebp - 0x14]
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push eax
mov eax, dword [0x100917fc]
add eax, 0x2c4
push eax
mov eax, dword [0x100917dc]
push dword [eax + 0xd8]
lea eax, [esi - 6]
push 0
push eax
lea eax, [ebx + 0x14]
push eax
push dword [0x10091804]
call fcn.1002e0d0
mov ecx, dword [ebp - 0x28]
lea eax, [esi + 0xf]
add esp, 0x1c
mov dword [ecx + 0x60], ebx
mov dword [ecx + 0x64], eax
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x1002f47e
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002f474
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002f474
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10074fd2
add esp, 8
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c