Function at 0x41d3f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov esi, dword [ebp + 0xc]
mov dword [esp], 0xd0
call fcn.0050bf60
lea ecx, [eax + 0xb8]
mov ebx, eax
mov dword [eax], vtable.rotocol.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xffffffff
mov dword [eax + 0x18], 0xffffffff
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov byte [eax + 0x44], 0
mov dword [eax + 0x48], 2
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0xffffffff
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 0xffffffff
mov byte [eax + 0x6c], 0
mov dword [eax + 0x70], 0
mov dword [eax + 0x74], 0
mov dword [eax + 0x78], 0
mov dword [eax + 0x7c], 0
mov dword [eax + 0x80], 0
mov dword [eax + 0x84], 0
mov dword [eax + 0xa4], 0
mov dword [eax + 0xac], 0
mov dword [eax + 0xb0], 0
mov dword [eax + 0xb4], 0
mov dword [eax + 0xb8], 0x3f800000
mov dword [eax + 0xbc], 0
mov dword [esp], 0xa
call fcn.004c6520
sub esp, 4
mov dword [ebx + 0xac], eax
call fcn.0041aa10
lea edx, [ebx + 0x88]
mov dword [ebx + 0xa8], eax
lea eax, [ebx + 0xc8]
mov dword [ebx + 0xc8], eax
mov dword [ebx + 0xcc], eax
xor eax, eax
mov dword [edx + eax], 0
add eax, 4
cmp eax, 0x1c
jb 0x41d542
lea edx, [ebx + 0x1c]
xor eax, eax
mov dword [edx + eax], 0
add eax, 4
cmp eax, 0x1c
jb 0x41d556
test esi, esi
mov dword [ebx + 0xc0], 0x1000000
mov dword [ebx + 0xc4], 0x40000
jne 0x41d59c
lea esi, [ebp - 0x38]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.T__p
mov dword [esp + 4], 0x20
mov dword [esp], esi
call fcn.0041a810
test byte [0x561ee0], 8
jne 0x41d6d0
mov eax, dword [ebp + 0x14]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
call fcn.00421d20
test eax, eax
js 0x41d6b6
mov dword [esp], 0x561ee4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x561f34]
mov dword [ebp - 0x4c], eax
sub esp, 4
cmp eax, 0x561f34
je 0x41d618
mov edi, eax
nop
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x54]
test eax, eax
je 0x41d60e
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x41d6a6
mov edi, dword [edi]
cmp edi, 0x561f34
jne 0x41d5f0
mov edi, dword [0x561f3c]
cmp edi, 0x561f3c
je 0x41d64a
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x54]
test eax, eax
je 0x41d640
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x41d6a6
mov edi, dword [edi]
cmp edi, 0x561f3c
jne 0x41d626
mov dword [esp], 0xc
call fcn.0050bf60
test eax, eax
je 0x41d66a
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], ebx
mov edx, dword [ebp - 0x4c]
mov ecx, eax
mov dword [esp], edx
call fcn.005011f0
sub esp, 4
mov dword [esp], esi
call sub.msvcrt.dll__strdup
mov dword [ebx + 0x54], eax
mov dword [esp], 0x561ee4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
sub esp, 4
call fcn.0041b480
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x561ee4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
lea esp, [ebp - 0xc]
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [sym.imp.msvcrt.dll__errno]
call edi
mov edx, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 8]
mov dword [esp + 8], esi
mov dword [esp + 4], str.transport:__s_initing_for_socket__d__on_port__d
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x3c]
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.0042a1c0
lea ecx, [ebp - 0x40]
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 0x381
mov dword [esp], str.system_core_adb_transport.cpp
call fcn.0042a560
lea ecx, [ebp - 0x40]
sub esp, 0x14
call fcn.0042a6d0
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx - 0xc]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 8], edx
call fcn.00505c10
lea ecx, [ebp - 0x40]
call fcn.0042a790
mov eax, dword [ebp - 0x3c]
lea ecx, [eax - 0xc]
cmp ecx, 0x516f30
jne 0x41d774
call edi
mov edx, dword [ebp - 0x4c]
mov dword [eax], edx
jmp 0x41d5a9
sub eax, 4
mov dword [ebp - 0x50], ecx
call fcn.0050e02c
mov ecx, dword [ebp - 0x50]
test eax, eax
jg 0x41d768
lea eax, [ebp - 0x40]
mov dword [esp], eax
call fcn.004dba20
push eax
jmp 0x41d768