Function at 0x412270
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x56d598
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x5c6590]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea edi, [ebx + 0x128]
mov eax, edi
mov ecx, 0x5d1640
call fcn.00407b00
lea ebp, [ebx + 0x214]
mov eax, ebp
mov ecx, 0x5d1640
call fcn.00407bb0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x59ab5c
call fcn.00402a10
push ecx
mov dword [esp + 0x38], 0
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x59ab5c
call fcn.00402a10
mov byte [esp + 0x38], 1
mov eax, dword [0x5de65c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea esi, [ebx + 0x300]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00425910
mov eax, dword [0x5de554]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov dword [esp + 0x18], esp
push eax
call fcn.00402ad0
mov ecx, dword [esp + 0x1c]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
call fcn.00425a20
mov eax, dword [0x5de554]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov edi, ebp
call fcn.00425a20
mov eax, dword [0x5de554]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov edi, esi
call fcn.00425a20
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x59ab5c
call fcn.00402a10
push ecx
mov dword [esp + 0x38], 2
mov dword [esp + 0x20], esp
mov esi, esp
mov eax, dword [0x5de568]
add eax, 0xfffffff0
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x3c], 3
mov eax, dword [0x5de564]
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x40], 4
mov eax, dword [0x5de560]
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [esi], eax
lea edi, [ebx + 0x3ec]
add esp, 4
mov esi, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x40], 0xffffffff
call fcn.00419060
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x59ab5c
call fcn.00402a10
mov dword [esp + 0x34], 5
mov eax, dword [0x5de5f4]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x3c], 6
mov eax, dword [0x5de5f0]
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x40], 7
mov eax, dword [0x5de5ec]
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [esi], eax
lea ebp, [ebx + 0x4e0]
add esp, 4
mov esi, ebp
mov dword [esp + 0x40], 0xffffffff
call fcn.00419060
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x59ab5c
call fcn.00402a10
mov dword [esp + 0x34], 8
push ecx
mov eax, dword [0x5de600]
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x3c], 9
mov eax, dword [0x5de5fc]
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x40], 0xa
mov eax, dword [0x5de5f8]
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea esi, [ebx + 0x5d4]
mov dword [esp + 0x40], 0xffffffff
call fcn.00419060
mov eax, dword [0x5de554]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov dword [esp + 0x18], esp
push eax
call fcn.00402ad0
mov edx, dword [esp + 0x1c]
add eax, 0x10
add esp, 4
mov dword [edx], eax
call fcn.004191b0
mov eax, dword [0x5de554]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov edi, ebp
call fcn.004191b0
mov eax, dword [0x5de554]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
push eax
call fcn.00402ad0
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov edi, esi
call fcn.004191b0
mov eax, ebp
mov ecx, 0x5d1640
call fcn.00407d10
mov eax, esi
mov ecx, 0x5d1640
call fcn.00407d10
mov eax, dword [0x5de678]
mov ecx, dword [0x5de67c]
mov dword [esi + 0xa8], ecx
cmp eax, 0xffffffff
jne 0x4125c8
mov edx, ecx
mov dword [esi + 0xac], edx
jmp 0x4125ce
mov dword [esi + 0xac], eax
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0xac]
push 1
push 0
push edx
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
push ecx
mov eax, str.Close
mov esi, esp
mov dword [esp + 0x28], esp
call fcn.00417710
mov ecx, dword [esp + 0x1c]
push ebx
call fcn.0041c570
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret