joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b2890
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push esi
mov esi, 0x1505
push edi
cmp ecx, 0x20
jbe 0x4b28ac
mov ecx, 0x20
mov esi, 0x1525
mov eax, dword [ebp + 8]
lea edi, [eax - 4]
add edi, ecx
cmp eax, edi
jae 0x4b28db
jmp 0x4b28c0
movzx ecx, byte [eax]
movzx edx, byte [eax + 3]
xor edx, ecx
movzx ecx, byte [eax + 1]
shl ecx, 8
add eax, 4
add esi, ecx
add esi, edx
cmp eax, edi
jb 0x4b28c0
pop edi
movzx eax, si
pop esi
pop ebp
ret
Function at 0x4cdfd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push edi
push 0x4ce5c0
push esi
lea eax, [esi + 0x4c]
mov dword [ebp - 0x14], 0
push eax
push dword [esi + 0x48]
mov eax, dword [esi + 0x18]
movdqu xmmword [ebp - 0x10], xmm0
call eax
mov edi, eax
test edi, edi
je 0x4ce05f
push 4
push str.com.freerdp.channels.cliprdr.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4ce057
push edi
push edi
call fcn.005a2990
add esp, 4
push eax
push str.pVirtualChannelOpen_failed_with__s___08I32X_
push str.cliprdr_virtual_channel_event_connected
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannelscliprdrclientcliprdr_main.c
push 0x466
push 4
push 0
push str.com.freerdp.channels.cliprdr.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x24
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0x4cc930
push eax
call fcn.00431040
add esp, 4
mov dword [esi + 0x50], eax
test eax, eax
jne 0x4ce0ce
push 4
push str.com.freerdp.channels.cliprdr.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4ce0c3
push str.MessageQueue_New_failed_
push str.cliprdr_virtual_channel_event_connected
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannelscliprdrclientcliprdr_main.c
push 0x46f
push 4
push 0
push str.com.freerdp.channels.cliprdr.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x1c
pop edi
mov eax, 8
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push esi
push 0x4cde60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x40], eax
test eax, eax
jne 0x4ce150
push 4
push str.com.freerdp.channels.cliprdr.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4ce133
push str.CreateThread_failed_
push str.cliprdr_virtual_channel_event_connected
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannelscliprdrclientcliprdr_main.c
push 0x477
push 4
push 0
push str.com.freerdp.channels.cliprdr.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x1c
push dword [esi + 0x50]
call fcn.00431000
add esp, 4
mov dword [esi + 0x50], 0
mov eax, 0x54f
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4d0570
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4d0581
lea eax, [esi + 7]
pop esi
pop ebp
ret
push edi
push 0x4d0d40
push esi
lea eax, [esi + 0x48]
push eax
push dword [esi + 0x44]
mov eax, dword [esi + 0x18]
call eax
mov edi, eax
test edi, edi
je 0x4d05df
push 4
push dword [esi + 0x38]
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4d05d9
push edi
push edi
call fcn.005a2990
add esp, 4
push eax
push str.pVirtualChannelOpen_failed_with__s___08I32X_
push str.drdynvc_virtual_channel_event_connected
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannelsdrdynvcclientdrdynvc_main.c
push 0x573
push 4
push 0
push dword [esi + 0x38]
call fcn.0042fce0
add esp, 0x24
mov eax, edi
pop edi
pop esi
pop ebp
ret
push ebx
push 0
call fcn.00431040
add esp, 4
mov dword [esi + 0x4c], eax
test eax, eax
jne 0x4d0622
push 4
push dword [esi + 0x38]
lea ebx, [eax + 0xc]
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4d0759
push str.MessageQueue_New_failed_
push str.drdynvc_virtual_channel_event_connected
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannelsdrdynvcclientdrdynvc_main.c
push 0x57c
jmp 0x4d074a
push esi
mov dword [eax + 0x3c], 0x4d0050
call fcn.004d1bf0
add esp, 4
mov dword [esi + 0x70], eax
test eax, eax
jne 0x4d066a
push 4
push dword [esi + 0x38]
lea ebx, [eax + 0xc]
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4d0759
push str.dvcman_new_failed_
push str.drdynvc_virtual_channel_event_connected
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannelsdrdynvcclientdrdynvc_main.c
push 0x586
jmp 0x4d074a
mov ecx, dword [esi + 0x28]
xor edi, edi
mov dword [ebp + 8], ecx
cmp dword [ecx + 0x9e00], edi
jbe 0x4d06ac
lea ebx, [ebx]
mov eax, dword [ecx + 0x9e10]
push ecx
push dword [eax + edi*4]
push dword [esi + 0x70]
push esi
call fcn.004d1b40
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4d0759
mov ecx, dword [ebp + 8]
inc edi
cmp edi, dword [ecx + 0x9e00]
jb 0x4d0680
push dword [esi + 0x70]
push esi
call fcn.004d1ac0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4d06fe
push 4
push dword [esi + 0x38]
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4d0759
push ebx
push str.dvcman_init_failed_with_error__I32u_
push str.drdynvc_virtual_channel_event_connected
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannelsdrdynvcclientdrdynvc_main.c
push 0x597
push 4
push 0
push dword [esi + 0x38]
call fcn.0042fce0
add esp, 0x20
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
ret
push 0
push 0
push esi
push 0x4d0310
push 0
push 0
mov dword [esi + 0x50], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x4d0759
push 4
push dword [esi + 0x38]
mov ebx, 0x54f
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4d0759
push str.CreateThread_failed_
push str.drdynvc_virtual_channel_event_connected
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannelsdrdynvcclientdrdynvc_main.c
push 0x5a2
push 4
push 0
push dword [esi + 0x38]
call fcn.0042fce0
add esp, 0x1c
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x4d44e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x4d4b30
push esi
lea eax, [esi + 0x48]
push eax
push dword [esi + 0x44]
mov eax, dword [esi + 0x18]
call eax
mov edi, eax
test edi, edi
je 0x4d455b
push 4
push str.com.freerdp.channels.encomsp.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4d4555
push edi
push edi
call fcn.005a2990
add esp, 4
push eax
push str.pVirtualChannelOpen_failed_with__s___08I32X_
push str.encomsp_virtual_channel_event_connected
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannelsencomspclientencomsp_main.c
push 0x434
push 4
push 0
push str.com.freerdp.channels.encomsp.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x24
mov eax, edi
pop edi
pop esi
pop ebp
ret
push 0
call fcn.00431040
add esp, 4
mov dword [esi + 0x4c], eax
test eax, eax
jne 0x4d45bf
push 4
push str.com.freerdp.channels.encomsp.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4d45b6
push str.MessageQueue_New_failed_
push str.encomsp_virtual_channel_event_connected
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannelsencomspclientencomsp_main.c
push 0x43c
push 4
push 0
push str.com.freerdp.channels.encomsp.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x1c
pop edi
mov eax, 0xc
pop esi
pop ebp
ret
push 0
push 0
push esi
push 0x4d4380
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x4d4638
push 4
push str.com.freerdp.channels.encomsp.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4d4624
push str.CreateThread_failed_
push str.encomsp_virtual_channel_event_connected
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannelsencomspclientencomsp_main.c
push 0x444
push 4
push 0
push str.com.freerdp.channels.encomsp.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x1c
push dword [esi + 0x4c]
call fcn.00431000
add esp, 4
mov eax, 0x54f
pop edi
pop esi
pop ebp
ret
pop edi
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4d5ac0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x4d60d0
push esi
lea eax, [esi + 0x4c]
push eax
push dword [esi + 0x48]
mov eax, dword [esi + 0x18]
call eax
mov edi, eax
test edi, edi
je 0x4d5b3b
push 4
push str.com.freerdp.channels.rail.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4d5b35
push edi
push edi
call fcn.005a2990
add esp, 4
push eax
push str.pVirtualChannelOpen_failed_with__s___08I32X_
push str.rail_virtual_channel_event_connected
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannels_railclient_rail_main.c
push 0x314
push 4
push 0
push str.com.freerdp.channels.rail.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x24
mov eax, edi
pop edi
pop esi
pop ebp
ret
push 0
call fcn.00431040
add esp, 4
mov dword [esi + 0x50], eax
test eax, eax
jne 0x4d5b9f
push 4
push str.com.freerdp.channels.rail.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4d5b96
push str.MessageQueue_New_failed_
push str.rail_virtual_channel_event_connected
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannels_railclient_rail_main.c
push 0x31c
push 4
push 0
push str.com.freerdp.channels.rail.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x1c
pop edi
mov eax, 0xc
pop esi
pop ebp
ret
push 0
push 0
push esi
push 0x4d5950
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x40], eax
test eax, eax
jne 0x4d5c1f
push 4
push str.com.freerdp.channels.rail.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4d5c04
push str.CreateThread_failed_
push str.rail_virtual_channel_event_connected
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannels_railclient_rail_main.c
push 0x324
push 4
push 0
push str.com.freerdp.channels.rail.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x1c
push dword [esi + 0x50]
call fcn.00431000
add esp, 4
mov dword [esi + 0x50], 0
mov eax, 0x54f
pop edi
pop esi
pop ebp
ret
pop edi
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4d9b30
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x63e758]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0x5c3a63
mov byte [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
xor ebx, ebx
mov dword [ebp - 0x10], eax
test al, 1
je 0x4d9c06
lea eax, [ebx + 0x41]
mov byte [ebp - 0xb], 0x3a
mov byte [ebp - 0xc], al
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x4d9b95
cmp eax, 2
je 0x4d9b95
cmp eax, 5
je 0x4d9b95
cmp eax, 4
jne 0x4d9c03
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
call edi
test eax, eax
je 0x4d9c03
push 0x14
call fcn.0058023c
mov esi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0xc]
push eax
movdqu xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 4], 8
call fcn.00580c20
mov dword [esi + 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xb], 0
call fcn.00580c20
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x10], 1
push dword [eax + 0x164]
push esi
push dword [eax + 0x4c]
call fcn.004dc100
add esp, 0x18
mov eax, dword [ebp - 0x10]
shr eax, 1
inc ebx
mov dword [ebp - 0x10], eax
cmp ebx, 0x1a
jl 0x4d9b65
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005802ce
mov esp, ebp
pop ebp
ret
Function at 0x4da060
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 4], 0
call fcn.004dc300
add esp, 4
mov dword [esi + 0x4c], eax
test eax, eax
jne 0x4da0d3
push 4
push str.com.freerdp.channels.rdpdr.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4da0c9
push str.devman_new_failed_
push str.rdpdr_process_connect
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannels_rdpdrclient_rdpdr_main.c
push 0x40a
push 4
push 0
push str.com.freerdp.channels.rdpdr.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x1c
mov eax, 0xc
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [esi + 0x28]
mov dword [ebp + 8], ebx
push 0xff
mov eax, dword [ebx + 0x430]
test eax, eax
je 0x4da0ec
push eax
jmp 0x4da0f2
push dword [ebx + 0x3400]
lea eax, [esi + 0x56]
push eax
call fcn.00582300
add esp, 0xc
push edi
xor edi, edi
cmp dword [ebx + 0x8208], edi
jbe 0x4da208
lea ecx, [ecx]
mov eax, dword [ebx + 0x8218]
mov ebx, dword [eax + edi*4]
cmp dword [ebx + 4], 8
jne 0x4da1dd
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4da1dd
mov ecx, 0x5b4ee4
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4da153
test dl, dl
je 0x4da14f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4da153
add eax, 2
add ecx, 2
test dl, dl
jne 0x4da133
xor eax, eax
jmp 0x4da158
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4da1dd
push esi
call fcn.004d9b30
add esp, 4
push 0
push 0
push esi
push 0x4d9970
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x15c], eax
test eax, eax
jne 0x4da1f8
push 4
push str.com.freerdp.channels.rdpdr.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4da1d1
push str.CreateThread_failed_
push str.rdpdr_process_connect
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannels_rdpdrclient_rdpdr_main.c
push 0x42f
push 4
push 0
push str.com.freerdp.channels.rdpdr.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x1c
pop edi
pop ebx
mov eax, 0x54f
pop esi
mov esp, ebp
pop ebp
ret
push dword [esi + 0x164]
push ebx
push dword [esi + 0x4c]
call fcn.004dc100
mov ebx, eax
add esp, 0xc
mov dword [ebp - 4], ebx
test ebx, ebx
jne 0x4da212
mov ebx, dword [ebp + 8]
inc edi
cmp edi, dword [ebx + 0x8208]
jb 0x4da110
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push 4
push str.com.freerdp.channels.rdpdr.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4da25d
push ebx
push str.devman_load_device_service_failed_with_error__I32u_
push str.rdpdr_process_connect
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannels_rdpdrclient_rdpdr_main.c
push 0x43e
push 4
push 0
push str.com.freerdp.channels.rdpdr.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x20
pop edi
mov eax, ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4dab70
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0x56], 0
push esi
lea esi, [ebx + 0x56]
mov dword [ebp - 4], 0
push edi
jne 0x4dab96
push 0xff
push esi
call dword [sym.imp.WS2_32.dll_gethostname]
push 0
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call fcn.00430810
mov edi, eax
add edi, edi
lea ecx, [edi + 0x12]
push ecx
push 0
call fcn.00438820
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x4dac23
push dword [ebp - 4]
call fcn.00580204
add esp, 4
push 4
push str.com.freerdp.channels.rdpdr.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4dac17
push str.Stream_New_failed_
push str.rdpdr_send_client_name_request
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannels_rdpdrclient_rdpdr_main.c
push 0x480
push 4
push esi
push str.com.freerdp.channels.rdpdr.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x1c
pop edi
pop esi
mov eax, 0xc
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
lea edx, [edi + 2]
mov byte [eax], 0x72
inc dword [esi + 4]
mov eax, dword [esi + 4]
mov byte [eax], 0x44
inc dword [esi + 4]
mov eax, dword [esi + 4]
mov byte [eax], 0x4e
inc dword [esi + 4]
mov eax, dword [esi + 4]
mov byte [eax], 0x43
inc dword [esi + 4]
mov eax, dword [esi + 4]
mov byte [eax], 1
inc dword [esi + 4]
mov eax, dword [esi + 4]
mov byte [eax], 0
inc dword [esi + 4]
mov eax, dword [esi + 4]
mov byte [eax], 0
inc dword [esi + 4]
mov eax, dword [esi + 4]
mov byte [eax], 0
inc dword [esi + 4]
mov eax, dword [esi + 4]
mov byte [eax], 0
inc dword [esi + 4]
mov eax, dword [esi + 4]
mov byte [eax], 0
inc dword [esi + 4]
mov eax, dword [esi + 4]
mov byte [eax], 0
inc dword [esi + 4]
mov eax, dword [esi + 4]
mov byte [eax], 0
inc dword [esi + 4]
mov eax, dword [esi + 4]
mov byte [eax], dl
mov eax, edx
inc dword [esi + 4]
mov ecx, dword [esi + 4]
shr eax, 8
mov byte [ecx], al
mov eax, edx
inc dword [esi + 4]
mov ecx, dword [esi + 4]
shr eax, 0x10
shr edx, 0x18
mov byte [ecx], al
inc dword [esi + 4]
mov eax, dword [esi + 4]
mov byte [eax], dl
inc dword [esi + 4]
test edi, edi
je 0x4dacd5
push edi
push dword [ebp - 4]
push dword [esi + 4]
call fcn.00580540
add esp, 0xc
add dword [esi + 4], edi
mov eax, dword [esi + 4]
mov byte [eax], 0
inc dword [esi + 4]
mov eax, dword [esi + 4]
mov byte [eax], 0
inc dword [esi + 4]
push dword [ebp - 4]
call fcn.00580204
push esi
push ebx
call fcn.004da9c0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4db330
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x4dba10
push esi
lea eax, [esi + 0x44]
push eax
push dword [esi + 0x40]
mov eax, dword [esi + 0x18]
call eax
mov edi, eax
test edi, edi
je 0x4db3ab
push 4
push str.com.freerdp.channels.rdpdr.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4db3a5
push edi
push edi
call fcn.005a2990
add esp, 4
push eax
push str.pVirtualChannelOpenEx_failed_with__s___08I32X_
push str.rdpdr_virtual_channel_event_connected
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannels_rdpdrclient_rdpdr_main.c
push 0x6a4
push 4
push 0
push str.com.freerdp.channels.rdpdr.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x24
mov eax, edi
pop edi
pop esi
pop ebp
ret
push 0
call fcn.00431040
add esp, 4
mov dword [esi + 0x48], eax
test eax, eax
jne 0x4db40f
push 4
push str.com.freerdp.channels.rdpdr.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4db406
push str.MessageQueue_New_failed_
push str.rdpdr_virtual_channel_event_connected
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannels_rdpdrclient_rdpdr_main.c
push 0x6ac
push 4
push 0
push str.com.freerdp.channels.rdpdr.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x1c
pop edi
mov eax, 0xc
pop esi
pop ebp
ret
push 0
push 0
push esi
push 0x4db1e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x38], eax
test eax, eax
jne 0x4db47d
push 4
push str.com.freerdp.channels.rdpdr.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4db474
push str.CreateThread_failed_
push str.rdpdr_virtual_channel_event_connected
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannels_rdpdrclient_rdpdr_main.c
push 0x6b4
push 4
push 0
push str.com.freerdp.channels.rdpdr.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x1c
pop edi
mov eax, 0x54f
pop esi
pop ebp
ret
pop edi
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4de140
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x4de750
push esi
lea eax, [esi + 0x48]
push eax
push dword [esi + 0x44]
mov eax, dword [esi + 0x18]
call eax
mov edi, eax
test edi, edi
je 0x4de1bb
push 4
push str.com.freerdp.channels.rdpsnd.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4de1b5
push edi
push edi
call fcn.005a2990
add esp, 4
push eax
push str.pVirtualChannelOpenEx_failed_with__s___08I32X_
push str.rdpsnd_virtual_channel_event_connected
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannels_rdpsndclient_rdpsnd_main.c
push 0x445
push 4
push 0
push str.com.freerdp.channels.rdpsnd.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x24
mov eax, edi
pop edi
pop esi
pop ebp
ret
push 0
call sym.wfreerdp.exe_freerdp_dsp_context_new
add esp, 4
mov dword [esi + 0xa8], eax
test eax, eax
je 0x4de22e
push 2
push 0x20
push 1
call fcn.005a3240
add esp, 0xc
mov dword [esi + 0xa4], eax
test eax, eax
je 0x4de22e
push 0x1000
push 1
mov dword [eax + 0x44], 0x4dd100
call fcn.0059bc70
add esp, 8
mov dword [esi + 0x3c], eax
test eax, eax
je 0x4de22e
push dword [esi + 0x50]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push 0
push esi
push 0x4de050
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x38], eax
test eax, eax
je 0x4de22e
pop edi
xor eax, eax
pop esi
pop ebp
ret
push dword [esi + 0xa8]
call sym.wfreerdp.exe_freerdp_dsp_context_free
push dword [esi + 0x3c]
call fcn.0059bc30
push dword [esi + 0xa4]
call fcn.005a3200
mov eax, dword [esi + 0x50]
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4de25f
push eax
call edi
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4de269
push eax
call edi
pop edi
mov eax, 0xc
pop esi
pop ebp
ret
Function at 0x4e00f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x4e06f0
push esi
lea eax, [esi + 0x48]
push eax
push dword [esi + 0x44]
mov eax, dword [esi + 0x18]
call eax
mov edi, eax
test edi, edi
je 0x4e016b
push 4
push str.com.freerdp.channels.remdesk.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4e0165
push edi
push edi
call fcn.005a2990
add esp, 4
push eax
push str.pVirtualChannelOpenEx_failed_with__s___08I32X_
push str.remdesk_virtual_channel_event_connected
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannels_remdeskclient_remdesk_main.c
push 0x36d
push 4
push 0
push str.com.freerdp.channels.remdesk.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x24
mov eax, edi
pop edi
pop esi
pop ebp
ret
push 0
call fcn.00431040
add esp, 4
mov dword [esi + 0x50], eax
test eax, eax
jne 0x4e01cd
push 4
push str.com.freerdp.channels.remdesk.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4e01c6
push str.MessageQueue_New_failed_
push str.remdesk_virtual_channel_event_connected
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannels_remdeskclient_remdesk_main.c
push 0x375
push 4
push 0
push str.com.freerdp.channels.remdesk.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x1c
mov edi, 0xc
jmp 0x4e0237
push 0
push 0
push esi
push 0x4dff80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x4e024f
push 4
push str.com.freerdp.channels.remdesk.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4e0232
push str.CreateThread_failed
push str.remdesk_virtual_channel_event_connected
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannels_remdeskclient_remdesk_main.c
push 0x380
push 4
push 0
push str.com.freerdp.channels.remdesk.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x1c
mov edi, 0x54f
push dword [esi + 0x50]
call fcn.00431000
add esp, 4
mov dword [esi + 0x50], 0
mov eax, edi
pop edi
pop esi
pop ebp
ret
pop edi
xor eax, eax
pop esi
pop ebp
ret