Function at 0x41c640
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4a74d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea ebp, [esi + 0x2fc]
push ebp
mov dword [esp + 0x34], 3
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4ae7b8
call fcn.00404200
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4ae7bc
mov byte [esp + 0x3c], 4
call fcn.00404200
mov edi, dword [esp + 0x40]
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x2c], esp
mov ebx, esp
push edi
mov byte [esp + 0x40], 5
call fcn.004015e0
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [esi + 0x2f4]
lea ebx, [esi + 0x2f4]
mov dword [esp + 0x24], esp
sub eax, 0x10
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x44], 6
call fcn.004015e0
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x24]
add esp, 4
add eax, 0x10
push edx
mov dword [ecx], eax
mov byte [esp + 0x44], 3
call fcn.00411250
add esp, 0x14
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
test eax, eax
mov byte [esp + 0x30], 7
je 0x41c7a8
mov eax, dword [esp + 0x3c]
push eax
push ecx
call fcn.0047e6f7
add esp, 8
test eax, eax
je 0x41c7a8
mov eax, dword [esp + 0x44]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov dword [esp + 0x18], esp
push eax
call fcn.004015e0
mov ecx, dword [esp + 0x1c]
add eax, 0x10
mov dword [ecx], eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x3c], 8
call fcn.004015e0
mov edx, dword [esp + 0x20]
add eax, 0x10
mov dword [edx], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.tiptext
mov byte [esp + 0x40], 9
call fcn.00404200
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov byte [esp + 0x40], 7
call fcn.0041be90
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c7a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4ae7b8
call fcn.00404200
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4ae7bc
mov byte [esp + 0x3c], 0xa
call fcn.00404200
mov esi, dword [esp + 0x44]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x30], esp
mov dword [esp + 0x20], esp
push esi
mov byte [esp + 0x40], 0xb
call fcn.004015e0
mov ecx, dword [esp + 0x24]
add eax, 0x10
mov dword [ecx], eax
mov dword [esp + 0x24], esp
mov dword [esp + 0x24], esp
push edi
mov byte [esp + 0x44], 0xc
call fcn.004015e0
mov edx, dword [esp + 0x28]
add esp, 4
add eax, 0x10
push ebx
mov dword [edx], eax
mov byte [esp + 0x44], 7
call fcn.00411640
add esp, 0x14
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x30], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c84a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x30], 2
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41c866
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov byte [esp + 0x30], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41c882
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c8a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c8cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 0x10