Function at 0x412b30
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x420673
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b9060]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x14], ebp
push ecx
mov eax, esp
mov dword [esp + 0x3c], 0
push 0
mov dword [eax], 0
call dword [0x4223ec]
lea ecx, [ebp + 0x18]
mov byte [esp + 0x38], 1
push ebp
mov dword [ebp], vtable.CHD_DeviceClient.0
mov dword [ebp + 8], vtable.CHD_DeviceClient.1.0
call dword [0x422c44]
push 0x6c
mov byte [esp + 0x3c], 2
call fcn.0041d4cc
add esp, 4
mov dword [ebp + 0xa458], eax
lea ebx, [ebp + 0xa460]
mov ecx, ebx
call dword [0x42214c]
lea ecx, [ebp + 0xa464]
call dword [0x42214c]
lea ecx, [ebp + 0xa468]
call dword [0x42214c]
push 0
lea ecx, [ebp + 0xa470]
mov byte [esp + 0x3c], 5
call dword [0x422180]
lea ecx, [ebp + 0xa48c]
mov byte [ebp + 0xa474], 0
call dword [0x42214c]
lea ecx, [ebp + 0xa490]
call dword [0x42214c]
lea ecx, [ebp + 0xa494]
call dword [0x42214c]
mov edi, dword [0x42225c]
lea eax, [ebp + 0xa49c]
mov esi, dword [0x422260]
push edi
push esi
push 2
push 4
push eax
mov byte [esp + 0x4c], 9
mov dword [ebp + 0xa498], 0
call fcn.0041d670
push edi
push esi
push 2
push 4
lea eax, [ebp + 0xa4a4]
mov byte [esp + 0x48], 0xa
push eax
call fcn.0041d670
push edi
push esi
push 2
push 4
lea eax, [ebp + 0xa4ac]
mov byte [esp + 0x48], 0xb
push eax
call fcn.0041d670
push edi
push esi
push 2
mov byte [esp + 0x44], 0xc
lea eax, [ebp + 0xa4b4]
push 4
push eax
call fcn.0041d670
push edi
push esi
push 4
push 4
lea eax, [ebp + 0xa4bc]
mov byte [esp + 0x48], 0xd
push eax
call fcn.0041d670
push edi
push esi
push 2
push 4
lea eax, [ebp + 0xa4cc]
mov byte [esp + 0x48], 0xe
push eax
call fcn.0041d670
push edi
push esi
push 0xa
push 4
lea eax, [ebp + 0xa4d4]
mov byte [esp + 0x48], 0xf
push eax
call fcn.0041d670
push edi
push esi
push 2
push 4
lea eax, [ebp + 0xa4fc]
mov byte [esp + 0x48], 0x10
push eax
call fcn.0041d670
mov esi, dword [0x4220f0]
lea ecx, [ebp + 0xa508]
push 0
mov byte [esp + 0x3c], 0x11
call esi
push 0
lea ecx, [ebp + 0xa538]
mov byte [esp + 0x3c], 0x12
call esi
lea ecx, [ebp + 0xa550]
mov byte [esp + 0x38], 0x13
call dword [0x42229c]
lea ecx, [ebp + 0xa560]
mov byte [esp + 0x38], 0x14
call dword [0x4222a0]
mov dword [ebp + 0xa590], 0
mov dword [ebp + 0xa594], 0
mov eax, dword [0x422184]
mov dword [ebp + 0xa598], eax
push 0
lea ecx, [ebp + 0xa5b0]
mov byte [esp + 0x3c], 0x15
mov dword [ebp + 0xa5ac], 0
call dword [0x422408]
mov esi, dword [0x4223dc]
lea ecx, [ebp + 0xa5c8]
push ebp
mov byte [esp + 0x3c], 0x16
call esi
push ebp
lea ecx, [ebp + 0xa5d0]
mov byte [esp + 0x3c], 0x17
call esi
mov byte [esp + 0x38], 0x18
push ebp
lea ecx, [ebp + 0xa5d8]
call esi
push ebp
lea ecx, [ebp + 0xa5e0]
mov byte [esp + 0x3c], 0x19
call esi
mov dword [ebp + 0xa5e8], 0
mov dword [ebp + 0xa5ec], 0
mov dword [ebp + 0xa5f8], 0
mov byte [ebp + 0xa5fc], 1
mov dword [ebp + 0xa600], 0
mov dword [ebp + 0xa604], 0x3f800000
mov dword [ebp + 0xa608], 0
mov dword [ebp + 0xa60c], 0
mov dword [ebp + 0xa610], 0
mov dword [ebp + 0xa614], 0
mov dword [ebp + 0xa618], 0
mov dword [ebp + 0xa61c], 0
mov eax, dword [0x422184]
mov dword [ebp + 0xa620], eax
push 0
mov ecx, ebp
mov byte [esp + 0x3c], 0x1b
call dword [0x422bc4]
mov ecx, dword [ebp + 0xa458]
push ebp
call fcn.00416bf0
lea eax, [esp + 0x48]
mov ecx, ebx
push eax
call dword [0x42216c]
mov edi, dword [esp + 0x14]
mov ecx, edi
mov ebp, dword [esp + 0x44]
mov dword [edi + 0xa45c], ebp
call dword [0x422404]
mov ecx, dword [edi + 0xa458]
push ebx
mov ecx, dword [ecx + 0x2c]
call dword [0x4223fc]
mov ecx, edi
call fcn.004148a0
mov ebx, dword [0x4221d8]
lea esi, [edi + 0x20]
push 0
push str.1VideoData_Slot_int__int__int__CHD_VIDEO_FRAME_S1_unsigned_char_QPixmap_
push edi
push str.2imagetoDisplay_Signal_int__int__int__CHD_VIDEO_FRAME_S1_unsigned_char_QPixmap_
lea eax, [esp + 0x54]
push esi
push eax
call ebx
mov edi, dword [0x4221fc]
lea ecx, [esp + 0x5c]
add esp, 0x18
call edi
mov ecx, dword [esp + 0x14]
push 0
push str.1SenderResponse_Slot_int__int__int__QString_
push ecx
lea eax, [ecx + 0x18]
push str.2SenderResponse_Signal_int__int__int__QString_
push eax
lea eax, [esp + 0x58]
push eax
call ebx
add esp, 0x18
lea ecx, [esp + 0x44]
call edi
push 0
push str.1DecodeError_Slot_int_int_int_
push dword [esp + 0x1c]
lea eax, [esp + 0x50]
push str.2DecodeError_Signal_int_int_int_
push esi
push eax
call ebx
add esp, 0x18
lea ecx, [esp + 0x44]
call edi
mov esi, dword [esp + 0x14]
push 0
push str.1Receiver_Error_Slot_int__int_
push esi
push str.2ReceiverError_Signal_int_int_
lea eax, [esi + 0xa3dc]
push eax
lea eax, [esp + 0x58]
push eax
call ebx
add esp, 0x18
lea ecx, [esp + 0x44]
call edi
push ebp
push 0x427c20
push str._s_index___d
push 0
push 0
push 0
lea ecx, [esp + 0x34]
call dword [0x422210]
push eax
call dword [0x422208]
add esp, 0x10
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x48]
call dword [0x422140]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0xc