Function at 0x42bdc0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x810c
call fcn.0045f430
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
push esi
push edi
jne 0x42bdff
mov eax, dword [0x4900e8]
test dword [0x4902e8], eax
je 0x42c3ba
push str.CSessionPipeClient::NamePipeInstance:_NULL_session_pipe_client_instance_
call fcn.0040aab0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x491164]
push 0
lea edx, [esp + 0x18]
push edx
push 0x7a80
lea eax, [esp + 0x6a4]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0xc]
push eax
push ecx
mov dword [esp + 0x30], 0x2c
mov dword [esp + 0x34], 0xf
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42c35a
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x42c35a
mov edx, ecx
shr ecx, 2
lea esi, [esp + 0x698]
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [esp + 0x78], 0x8001
jne 0x42c335
cmp dword [esp + 0x7c], 0x620
jne 0x42c335
mov eax, dword [esp + 0x80]
dec eax
cmp eax, 0x3c
mov esi, 2
mov dword [esp + 0x40], esi
ja case.0x42bea1.3
movzx eax, byte [eax + 0x42c3fc]
jmp dword [eax*4 + 0x42c3c4]
mov ecx, dword [0x4900e8]
test dword [0x4902e8], ecx
je 0x42bec3
push str.NamePipeInstance:_EXTEVENT_REQTYPE_CLT_INFORMKBEVENT_is_called
call fcn.0040aab0
add esp, 4
mov ecx, dword [0x4910b8]
test ecx, ecx
jne 0x42bef1
mov edx, dword [0x4902e8]
test dword [0x4900e8], edx
je case.0x42bea1.3
push str.WARNING...SOFTWARE_BUG..._g_pExtEvent_is_NULL
call fcn.0040aab0
add esp, 4
jmp case.0x42bea1.3
lea eax, [esp + 0x88]
push eax
call fcn.00402150
jmp case.0x42bea1.3
mov ecx, dword [0x4900e8]
test dword [0x4902e8], ecx
je 0x42bf1e
push str.NamePipeInstance:_EXTEVENT_REQTYPE_CLT_REGISTERCOMOBJECT_is_called
call fcn.0040aab0
add esp, 4
lea edx, [esp + 0x88]
push edx
mov dword [esp + 0x44], esi
call fcn.00446bb0
add esp, 4
cmp eax, 0x80000000
jne 0x42bf4b
lea eax, [esp + 0x88]
push eax
push SysReAllocString
lea ecx, [ebx + 0x34]
jmp 0x42bf78
cmp eax, 0x80000001
jne 0x42bf63
lea ecx, [esp + 0x88]
push ecx
push eax
lea ecx, [ebx + 0x180]
jmp 0x42bf78
cmp eax, reloc.OLEAUT32.dll_SysReAllocString
jne 0x42bf89
lea edx, [esp + 0x88]
push edx
push eax
mov ecx, 0x4912b0
call fcn.00446c30
cmp dword [0x4860b0], eax
jne case.0x42bea1.3
mov eax, dword [0x4900e8]
test dword [0x4902e8], eax
je 0x42c374
push str.NamePipeInstance:_EXTEVENT_REQTYPE_CLT_REGISTERCOMOBJECT__failed_to_register_ADC_COM_callback
jmp 0x42c36c
mov ecx, dword [0x4900e8]
test dword [0x4902e8], ecx
je 0x42bfbf
push str.NamePipeInstance:_EXTEVENT_REQTYPE_CLT_UNREGISTERCOMOBJECT_is_called
call fcn.0040aab0
add esp, 4
lea edx, [esp + 0x88]
push edx
mov dword [esp + 0x44], esi
call fcn.00446bb0
add esp, 4
cmp eax, 0x80000000
jne 0x42bfec
lea eax, [esp + 0x88]
push eax
push SysReAllocString
lea ecx, [ebx + 0x34]
jmp 0x42c019
cmp eax, 0x80000001
jne 0x42c004
lea ecx, [esp + 0x88]
push ecx
push eax
lea ecx, [ebx + 0x180]
jmp 0x42c019
cmp eax, reloc.OLEAUT32.dll_SysReAllocString
jne 0x42c026
lea edx, [esp + 0x88]
push edx
push eax
mov ecx, 0x4912b0
call fcn.00446df0
test al, al
jne case.0x42bea1.3
mov eax, dword [0x4900e8]
test dword [0x4902e8], eax
je 0x42c374
push str.NamePipeInstance:_EXTEVENT_REQTYPE_CLT_UNREGISTERCOMOBJECT__failed_to_unregister_ADC_COM_callback
jmp 0x42c36c
mov ecx, dword [0x4900e8]
test dword [0x4902e8], ecx
je 0x42c05c
push str.NamePipeInstance:_EXTEVENT_REQTYPE_SVR_APPLYADCBYSELECTED_is_called
call fcn.0040aab0
add esp, 4
mov eax, dword [0x4910d8]
test eax, eax
mov ebx, 1
mov dword [esp + 0x40], ebx
je case.0x42bea1.3
mov dword [esp + 0x40], esi
mov ecx, 0xa
lea esi, [esp + 0x88]
lea edi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x80], 0x38
mov dword [esp + 0xc], 0
lea eax, [esp + 0x50]
jne 0x42c0c6
push 0
mov ecx, 0x491a60
call fcn.0042db80
test eax, eax
je 0x42c0bb
push 0
mov ecx, eax
call fcn.00437840
test ah, ah
js 0x42c0c4
mov dword [esp + 0x40], ebx
jmp case.0x42bea1.3
xor eax, eax
mov edx, dword [0x4929e0]
push edx
lea ecx, [esp + 0x10]
push ecx
push 0
push eax
push 0x42bba0
call fcn.00423cb0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x42c177
mov eax, dword [0x4900e8]
test dword [0x4902e8], eax
je 0x42c106
push str.CSessionPipeClient::NamePipeInstance__CreateThread_for_ADC_success
call fcn.0040aab0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x42bea1.3
mov ecx, dword [0x4900e8]
test dword [0x4902e8], ecx
je 0x42c12d
push str.NamePipeInstance:_EXTEVENT_REQTYPE_SVR_APPLYADCBYSELECTED_is_called
call fcn.0040aab0
add esp, 4
mov eax, dword [0x4910d8]
test eax, eax
mov dword [esp + 0x40], 1
je case.0x42bea1.3
mov edx, dword [0x4929e0]
push edx
lea eax, [esp + 0x10]
push eax
push 0
lea ecx, [esp + 0x94]
push ecx
push 0x42bc10
mov dword [esp + 0x54], esi
mov dword [esp + 0x20], 0
call fcn.00423cb0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x42c1a2
mov edx, dword [0x4900e8]
test dword [0x4902e8], edx
je case.0x42bea1.3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CSessionPipeClient::NamePipeInstance__CreateThread_for_ADC_failed__err_d
call fcn.0040aab0
add esp, 8
jmp case.0x42bea1.3
mov eax, dword [0x4900e8]
test dword [0x4902e8], eax
je 0x42c1bc
push str.CSessionPipeClient::NamePipeInstance__CreateThread_for_ADC_success
call fcn.0040aab0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x42bea1.3
mov ecx, dword [0x4900e8]
test dword [0x4902e8], ecx
je 0x42c1e3
push str.NamePipeInstance:_EXTEVENT_REQTYPE_CLT_KILLCLIENTPROCESS_is_called
call fcn.0040aab0
add esp, 4
mov edx, dword [0x4910b0]
push 0
push 0
push 0x12
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp case.0x42bea1.3
cmp dword [0x491098], 6
ja case.0x42bea1.3
mov ecx, dword [0x4910d8]
test ecx, ecx
je case.0x42bea1.3
call fcn.004177f0
jmp case.0x42bea1.3
mov eax, dword [0x4910b4]
test eax, eax
jne 0x42c236
mov eax, dword [0x4900e8]
test dword [0x4902e8], eax
jmp 0x42c27b
mov ecx, dword [0x4900e8]
test dword [0x4902e8], ecx
je 0x42c251
push str.Client_got_m_hSMIBiosEvent_request_n
call fcn.0040aab0
add esp, 4
mov edx, dword [0x4910b4]
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp case.0x42bea1.3
mov eax, dword [0x4910b4]
test eax, eax
jne 0x42c293
mov ecx, dword [0x4900e8]
test dword [0x4902e8], ecx
je case.0x42bea1.3
push str.Session:_g_pHKPoller_is_NULL
call fcn.0040aab0
add esp, 4
jmp case.0x42bea1.3
mov edx, dword [eax + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp case.0x42bea1.3
mov eax, dword [0x4902e8]
test dword [0x4900e8], eax
je case.0x42bea1.29
push str.Session:_NamePipeInstance._Got_AutoDisplay_or_SaveProfile_n
call fcn.0040aab0
add esp, 4
test byte [0x49116c], 4
jne case.0x42bea1.3
mov ecx, dword [0x4902e8]
test dword [0x4900e8], ecx
je 0x42c2ec
mov edx, dword [esp + 0x80]
push edx
push str.Session:_NamePipeInstance._prepare_to_add_task__d__to_queue_n
call fcn.0040aab0
add esp, 8
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x88]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x58]
mov dword [ecx + 8], eax
lea ecx, [ebx + 0x14]
call fcn.0042cd30
mov ecx, dword [0x495388]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp case.0x42bea1.3
mov ecx, dword [0x4910d8]
test ecx, ecx
je case.0x42bea1.3
push 0
call fcn.00417830
jmp case.0x42bea1.3
mov edx, dword [0x4900e8]
test dword [0x4902e8], edx
mov dword [esp + 0x40], 1
je case.0x42bea1.3
push str.NamePipeSessionInstance:_Pipe_read_msg_contents_error__something_wrong
call fcn.0040aab0
add esp, 4
jmp case.0x42bea1.3
mov eax, dword [0x4900e8]
test dword [0x4902e8], eax
je 0x42c374
push str.NamePipeSessionInstanceThread:_Read_from_Pipe_Failed
call fcn.0040aab0
add esp, 4
mov dword [esp + 0x40], 1
mov eax, dword [ebp + 0xc]
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x2c
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42c39f
cmp dword [esp + 0x10], 0x2c
je 0x42c3ba
mov ecx, dword [0x4900e8]
test dword [0x4902e8], ecx
je 0x42c3ba
push str.Write_to_Pipe_Failed
call fcn.0040aab0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret