Function at 0x4e2350
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
cmp byte [ebx], 0
je 0x4e26b7
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x4e26b7
push 0x104
push eax
call fcn.00582567
push 0x40
push 1
mov dword [ebp - 4], eax
call fcn.00580d1f
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4e23e4
push 4
push str.com.freerdp.channels.drive.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4e23d8
push str.calloc_failed_
push str.drive_register_drive_path
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannelsdriveclientdrive_main.c
push 0x37e
push 4
push esi
push str.com.freerdp.channels.drive.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 [ebp + 8]
mov edi, ebx
mov dword [esi + 4], 8
mov dword [esi + 8], ebx
mov dword [esi + 0x14], 0x4e0ec0
mov dword [esi + 0x1c], 0x4e0dd0
lea ecx, [edi + 1]
mov eax, dword [eax + 0xc]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x24], eax
mov al, byte [edi]
inc edi
test al, al
jne 0x4e2410
sub edi, ecx
lea eax, [edi + 1]
push eax
push 0
call fcn.00438820
add esp, 8
mov dword [esi + 0xc], eax
test eax, eax
jne 0x4e2482
push 4
push str.com.freerdp.channels.drive.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4e2478
push str.Stream_New_failed_
push str.drive_register_drive_path
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannelsdriveclientdrive_main.c
push 0x38d
push 4
push 0
push str.com.freerdp.channels.drive.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x1c
mov edi, 0xc
jmp 0x4e2673
xor edx, edx
mov al, byte [edx + ebx]
mov ebx, 0x5f
test al, al
js 0x4e2493
movsx ebx, al
mov ecx, dword [esi + 0xc]
inc edx
mov eax, dword [ecx + 4]
mov byte [eax], bl
inc dword [ecx + 4]
mov ebx, dword [ebp + 0xc]
cmp edx, edi
jbe 0x4e2484
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
cmp ecx, 1
jbe 0x4e24b9
cmp byte [ecx + edx - 1], 0x2f
jne 0x4e24b9
dec ecx
push 0
lea eax, [esi + 0x20]
push eax
push ecx
push edx
push 0
push dword [0x656110]
call fcn.00430810
add esp, 0x18
test eax, eax
jg 0x4e250a
push 4
push str.com.freerdp.channels.drive.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4e2478
push str.ConvertToUnicode_failed_
push str.drive_register_drive_path
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannelsdriveclientdrive_main.c
push 0x39a
jmp 0x4e245e
push 1
call fcn.0059c240
add esp, 4
mov dword [esi + 0x2c], eax
test eax, eax
jne 0x4e2554
push 4
push str.com.freerdp.channels.drive.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4e2478
push str.ListDictionary_New_failed_
push str.drive_register_drive_path
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannelsdriveclientdrive_main.c
push 0x3a3
jmp 0x4e245e
push 0
mov dword [eax + 0x40], 0x4e0dc0
call fcn.00431040
add esp, 4
mov dword [esi + 0x34], eax
test eax, eax
jne 0x4e25a5
push 4
push str.com.freerdp.channels.drive.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4e2478
push str.ListDictionary_New_failed_
push str.drive_register_drive_path
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannelsdriveclientdrive_main.c
push 0x3ad
jmp 0x4e245e
mov eax, dword [ebp + 8]
push esi
push dword [eax]
mov eax, dword [eax + 4]
call eax
mov edi, eax
add esp, 8
test edi, edi
je 0x4e260a
push 4
push str.com.freerdp.channels.drive.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4e2673
push edi
push str.RegisterDevice_failed_with_error__I32u_
push str.drive_register_drive_path
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannelsdriveclientdrive_main.c
push 0x3b5
push 4
push 0
push str.com.freerdp.channels.drive.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x20
jmp 0x4e2673
push 0
push 4
push esi
push 0x4e26c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x30], eax
test eax, eax
jne 0x4e26b0
push 4
push str.com.freerdp.channels.drive.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x4e2673
push str.CreateThread_failed_
push str.drive_register_drive_path
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPchannelsdriveclientdrive_main.c
push 0x3bc
push 4
push 0
push str.com.freerdp.channels.drive.client
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x1c
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 0x2c]
call fcn.0059c0e0
push dword [esi + 0x34]
call fcn.00431000
push 1
push dword [esi + 0xc]
call fcn.004387e0
push dword [esi + 0x20]
call fcn.00580204
push esi
call fcn.00580204
add esp, 0x18
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret