Function at 0x4166d0
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 8]
push str.kill
push ebx
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
je 0x417636
mov edi, dword [ebp + 0x18]
push 9
push 0x586326
push ebx
call sub.msvcrt.dll_strncmp
add esp, 0xc
test eax, eax
je 0x41685e
push 7
push str.devices
push ebx
call sub.msvcrt.dll_strncmp
add esp, 0xc
test eax, eax
je 0x4168df
push str.reconnect_offline
push ebx
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
je 0x416943
push str.features
push ebx
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
je 0x416a13
push str.host_features
push ebx
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
je 0x416a8b
push 0xb
push str.disconnect:
push ebx
call sub.msvcrt.dll_strncmp
add esp, 0xc
test eax, eax
je 0x416b9c
push 0x58644a
push ebx
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
je 0x416bed
push str.get_serialno
push ebx
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
je 0x416ecc
push str.get_devpath
push ebx
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
je 0x416f86
push str.get_state
push ebx
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
je 0x41703d
push 9
push str.emulator:
push ebx
call sub.msvcrt.dll_strncmp
add esp, 0xc
test eax, eax
je 0x4171e6
push str.reconnect
push ebx
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
je 0x417284
push 0x18
call fcn.004fc150
add esp, 4
mov ecx, eax
mov dword [eax], 0x586980
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x90], ecx
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x14], edi
mov edi, ecx
mov dword [ecx + 0x10], eax
lea eax, [esp + 0x80]
push esi
push eax
push ebx
call fcn.004160a0
add esp, 0xc
mov esi, dword [edi]
mov ecx, edi
mov ebx, eax
call dword [esi + 0x14]
jmp 0x41727a
push 0xd
push str.transport_id:
push ebx
call sub.msvcrt.dll_strncmp
add esp, 0xc
test eax, eax
je 0x41699c
push 0xd
push str.transport_usb
push ebx
call sub.msvcrt.dll_strncmp
add esp, 0xc
test eax, eax
je 0x416a81
push 0xf
push str.transport_local
push ebx
call sub.msvcrt.dll_strncmp
add esp, 0xc
test eax, eax
je 0x416b32
push 0xd
push str.transport_any
push ebx
call sub.msvcrt.dll_strncmp
add esp, 0xc
mov esi, 2
test eax, eax
je 0x4168d7
push 0xa
push str.transport:
push ebx
call sub.msvcrt.dll_strncmp
add esp, 0xc
test eax, eax
je 0x416c13
mov eax, dword [ebp + 0x10]
jmp 0x416c1b
add ebx, 7
push 0x586392
push ebx
call sub.msvcrt.dll_strcmp
add esp, 8
mov esi, eax
test eax, eax
je 0x416901
cmp byte [ebx], 0
mov bl, 1
jne 0x41727a
mov ebx, dword [0x5bc570]
test byte [ebx], 1
jne 0x417500
xor eax, eax
test esi, esi
lea edi, [esp + 0x10]
sete al
push eax
push edi
call fcn.00424ce0
add esp, 8
test byte [ebx], 1
jne 0x417563
mov eax, dword [ebp + 0x1c]
mov esi, eax
push eax
call fcn.00418550
add esp, 4
push edi
push esi
jmp 0x416b75
mov ebx, esi
lea esi, [esp + 0x10]
lea edi, [esp + 0x68]
mov dword [esp + 0x68], 0x586880
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x6c], esi
mov dword [esp + 0x78], edi
push edi
call fcn.004279b0
add esp, 4
mov ecx, dword [esp + 0x78]
cmp edi, ecx
je 0x416b3f
test ecx, ecx
je 0x416b44
mov eax, dword [ecx]
call dword [eax + 0x14]
jmp 0x416b44
add ebx, 0xd
lea eax, [ebp + 8]
mov dword [ebp + 8], ebx
push 0xa
push eax
push ebx
call fcn.00526db0
add esp, 0xc
mov edi, dword [ebp + 8]
mov ecx, eax
cmp byte [edi], 0
je 0x416b8d
push 0x20
call fcn.004fc150
add esp, 4
mov dword [esp + 0x18], eax
mov dword [eax + 0x10], 0x64692074
mov dword [eax + 0xc], 0x726f7073
mov dword [eax + 8], 0x6e617274
mov dword [eax + 4], 0x2064696c
mov dword [eax], 0x61766e69
mov byte [eax + 0x14], 0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x21
mov dword [esp + 0x14], 0x14
push eax
push esi
call fcn.00418840
jmp 0x416b7a
mov ebx, esi
lea esi, [esp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
push 0
push esi
push 0
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004262d0
add esp, 0x1c
test eax, eax
je 0x417085
add eax, 0x74
mov esi, esp
push eax
push esi
call fcn.00427680
add esp, 8
push ebx
call fcn.00418550
add esp, 4
push esi
push ebx
call fcn.00418020
add esp, 8
test byte [esp], 1
je 0x417265
jmp 0x4171ca
mov eax, dword [ebp + 0x10]
xor esi, esi
jmp 0x416c1b
call fcn.00427400
xorps xmm0, xmm0
mov esi, eax
lea ecx, [esp + 0x10]
movaps xmmword [esp + 0x10], xmm0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x20], eax
push dword [esi + 4]
call fcn.00551da0
mov edi, dword [esi + 8]
test edi, edi
je 0x416ad2
lea esi, [esp + 0x10]
nop dword [eax + eax]
lea eax, [edi + 8]
mov ecx, esi
push eax
push eax
call fcn.00551750
mov edi, dword [edi]
test edi, edi
jne 0x416ac0
call fcn.0042d690
test al, al
je 0x416db1
mov eax, dword [0x5bc59c]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
mov edi, dword [eax]
push edi
call sub.msvcrt.dll_strlen
add esp, 4
cmp eax, 0xfffffff0
jae 0x417673
mov ebx, eax
cmp eax, 0xb
jae 0x416d58
mov eax, ebx
lea esi, [esp + 1]
add al, bl
test ebx, ebx
mov byte [esp], al
jne 0x416d83
jmp 0x416d8e
mov eax, dword [ebp + 0x10]
mov esi, 1
jmp 0x416c1b
mov eax, dword [ecx]
call dword [eax + 0x10]
movzx eax, byte [esp + 0x10]
test al, 1
je 0x416b57
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x416b5d
jmp 0x416b6a
shr eax, 1
test eax, eax
je 0x416b6a
dec eax
lea ecx, [esp + 0x10]
push 0
push eax
call fcn.005562b0
push ebx
call fcn.00418550
add esp, 4
push esi
push ebx
call fcn.00418020
add esp, 8
test byte [esp + 0x10], 1
jne 0x41726c
jmp 0x417278
mov eax, dword [ebp + 0x10]
mov edi, edx
mov esi, 2
jmp 0x416c1e
add ebx, 0xb
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
push ebx
call sub.msvcrt.dll_strlen
add esp, 4
cmp eax, 0xfffffff0
jae 0x41767a
mov ecx, eax
cmp eax, 0xb
jae 0x416c98
mov eax, ecx
lea esi, [esp + 0x11]
add al, cl
test ecx, ecx
mov byte [esp + 0x10], al
jne 0x416cbe
jmp 0x416ccd
mov edi, esi
lea esi, [esp + 0x10]
push 0x28
push 0x586452
push esi
call fcn.004deac0
add esp, 0xc
push edi
call fcn.00418550
add esp, 4
push esi
push edi
jmp 0x416b75
add ebx, 0xa
mov eax, ebx
mov dword [ebp + 8], ebx
mov ecx, dword [ebp + 0x14]
lea ebx, [esp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
push 0
push ebx
push 0
push edi
push ecx
push eax
push esi
call fcn.004262d0
add esp, 0x1c
test eax, eax
je 0x416c6e
mov ecx, dword [ebp + 0x20]
mov dword [ecx + 0x5c], eax
push dword [ebp + 0x1c]
call fcn.00418550
add esp, 4
xor ebx, ebx
test byte [esp + 0x10], 1
jne 0x416c87
jmp 0x41727a
push ebx
push dword [ebp + 0x1c]
call fcn.00418840
add esp, 8
mov bl, 1
test byte [esp + 0x10], 1
je 0x41727a
push dword [esp + 0x18]
call fcn.004fc300
add esp, 4
jmp 0x41727a
mov edi, ecx
add edi, 0x10
and edi, 0xfffffff0
push edi
mov esi, ecx
call fcn.004fc150
mov ecx, esi
add esp, 4
or edi, 1
mov dword [esp + 0x18], eax
mov esi, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
push ecx
push ebx
push esi
mov edi, ecx
call sub.msvcrt.dll_memcpy
mov ecx, edi
add esp, 0xc
mov byte [esi + ecx], 0
movzx eax, byte [esp + 0x10]
test al, 1
je 0x416ce0
mov ecx, dword [esp + 0x14]
jmp 0x416ce4
mov ecx, eax
shr ecx, 1
mov esi, dword [ebp + 0x1c]
test ecx, ecx
je 0x416f25
cmp ecx, 6
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x5c], 0x15b3
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
jb 0x416ffe
test al, 1
je 0x416fe2
mov eax, dword [esp + 0x18]
jmp 0x416fe6
mov dword [esp + 0x34], edi
mov edi, ebx
add ebx, 0x10
and ebx, 0xfffffff0
push ebx
call fcn.004fc150
add esp, 4
or ebx, 1
mov dword [esp + 8], eax
mov esi, eax
mov dword [esp], ebx
mov ebx, edi
mov edi, dword [esp + 0x34]
mov dword [esp + 4], ebx
push ebx
push edi
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, esp
mov byte [esi + ebx], 0
lea ecx, [esp + 0x10]
push eax
push eax
call fcn.00551a70
test byte [esp], 1
je 0x416db1
push dword [esp + 8]
call fcn.004fc300
add esp, 4
mov eax, dword [0x5bc5a0]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
mov edi, dword [eax]
push edi
call sub.msvcrt.dll_strlen
add esp, 4
cmp eax, 0xfffffff0
jae 0x417673
mov ebx, eax
cmp eax, 0xb
jae 0x416df9
mov eax, ebx
lea esi, [esp + 1]
add al, bl
test ebx, ebx
mov byte [esp], al
jne 0x416e24
jmp 0x416e2f
mov dword [esp + 0x34], edi
mov edi, ebx
add ebx, 0x10
and ebx, 0xfffffff0
push ebx
call fcn.004fc150
add esp, 4
or ebx, 1
mov dword [esp + 8], eax
mov esi, eax
mov dword [esp], ebx
mov ebx, edi
mov edi, dword [esp + 0x34]
mov dword [esp + 4], ebx
push ebx
push edi
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov byte [esi + ebx], 0
lea esi, [esp + 0x10]
mov edi, esp
mov ecx, esi
push edi
push edi
call fcn.00551a70
test byte [esp], 1
je 0x416e54
push dword [esp + 8]
call fcn.004fc300
add esp, 4
push esi
push edi
call fcn.00427680
add esp, 8
mov eax, dword [ebp + 0x1c]
mov esi, eax
push eax
call fcn.00418550
add esp, 4
push edi
push esi
call fcn.00418020
add esp, 8
test byte [esp], 1
je 0x416e88
push dword [esp + 8]
call fcn.004fc300
add esp, 4
mov esi, dword [esp + 0x18]
test esi, esi
je 0x416eb2
mov edi, dword [esi]
test byte [esi + 8], 1
je 0x416ea3
push dword [esi + 0x10]
call fcn.004fc300
add esp, 4
push esi
call fcn.004fc300
add esp, 4
test edi, edi
mov esi, edi
jne 0x416e90
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], 0
test eax, eax
je 0x417278
push eax
jmp 0x417270
mov ebx, esi
lea esi, [esp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
push 0
push esi
push 0
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004262d0
add esp, 0x1c
test eax, eax
je 0x416fdb
movzx ecx, byte [eax + 0x1c]
test cl, 1
jne 0x4170c5
shr ecx, 1
test ecx, ecx
jne 0x4170d0
jmp 0x41720e
call fcn.00428450
push 0x20
call fcn.004fc150
add esp, 4
mov dword [esp + 8], eax
mov dword [esp], 0x21
mov dword [eax + 0x13], 0x676e6968
mov dword [esp + 4], 0x17
mov dword [eax + 0x10], 0x68747972
mov dword [eax + 0xc], 0x65766520
mov dword [eax + 8], 0x64657463
mov dword [eax + 4], 0x656e6e6f
mov dword [eax], 0x63736964
mov byte [eax + 0x17], 0
push esi
call fcn.00418550
add esp, 4
mov eax, esp
push eax
push esi
jmp 0x416a6a
mov ebx, esi
lea esi, [esp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
push 0
push esi
push 0
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004262d0
add esp, 0x1c
test eax, eax
je 0x416fdb
movzx ecx, byte [eax + 0x4c]
test cl, 1
jne 0x4171fa
shr ecx, 1
test ecx, ecx
jne 0x417201
jmp 0x41720e
push esi
push ebx
jmp 0x416a09
lea eax, [esp + 0x11]
mov ecx, 0x636f7376
xor ecx, dword [eax]
movzx eax, word [eax + 4]
xor eax, 0x3a6b
or eax, ecx
je 0x4170d8
lea eax, [esp + 0x38]
mov ecx, esp
lea edx, [esp + 0x5c]
lea esi, [esp + 0x48]
lea edi, [esp + 0x10]
push eax
push ecx
push edx
push esi
push edi
call fcn.004de2e0
add esp, 0x14
test al, al
jne 0x4170e4
test byte [esp + 0x10], 1
je 0x41709f
mov eax, dword [esp + 0x18]
test byte [esp + 0x38], 1
je 0x4170aa
mov ecx, dword [esp + 0x40]
jmp 0x4170ae
mov ebx, esi
lea esi, [esp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
push 0
push esi
push 0
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004262d0
add esp, 0x1c
test eax, eax
je 0x417085
mov esi, esp
mov ecx, esi
push eax
call fcn.004271e0
jmp 0x416a5f
push esi
push ebx
call fcn.00418840
add esp, 8
test byte [esp + 0x10], 1
je 0x417278
jmp 0x41726c
lea eax, [esp + 0x11]
test byte [esp + 0x38], 1
jne 0x417037
lea ecx, [esp + 0x39]
lea esi, [esp + 0x28]
push ecx
push eax
push str.couldnt_parse__s:__s
push esi
call fcn.004deac0
add esp, 0x10
push esi
jmp 0x417135
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x41720e
add eax, 0x1c
jmp 0x417204
lea eax, [esp + 0x10]
mov ecx, esp
push eax
call fcn.00556f30
test byte [esp], 1
lea esi, [esp + 1]
mov eax, esi
je 0x4170f4
mov eax, dword [esp + 8]
push eax
call fcn.004283e0
add esp, 4
test eax, eax
je 0x417117
push eax
call fcn.004247c0
add esp, 4
test byte [esp + 0x10], 1
je 0x41713f
mov eax, dword [esp + 0x18]
jmp 0x417143
test byte [esp], 1
je 0x417121
mov esi, dword [esp + 8]
lea edi, [esp + 0x28]
push esi
push str.no_such_device__s
push edi
call fcn.004deac0
add esp, 0xc
push edi
push dword [ebp + 0x1c]
call fcn.00418840
jmp 0x41716b
lea eax, [esp + 0x11]
lea esi, [esp + 0x28]
push eax
push str.disconnected__s
push esi
call fcn.004deac0
add esp, 0xc
mov eax, dword [ebp + 0x1c]
mov edi, eax
push eax
call fcn.00418550
add esp, 4
push esi
push edi
call fcn.00418020
add esp, 8
test byte [esp + 0x28], 1
jne 0x41718e
test byte [esp + 0x38], 1
jne 0x4171a1
test byte [esp + 0x48], 1
jne 0x4171b4
test byte [esp], 1
jne 0x4171ca
jmp 0x417265
push dword [esp + 0x30]
call fcn.004fc300
add esp, 4
test byte [esp + 0x38], 1
je 0x41717c
push dword [esp + 0x40]
call fcn.004fc300
add esp, 4
test byte [esp + 0x48], 1
je 0x417183
push dword [esp + 0x50]
call fcn.004fc300
add esp, 4
test byte [esp], 1
je 0x417265
push dword [esp + 8]
call fcn.004fc300
add esp, 4
test byte [esp + 0x10], 1
jne 0x41726c
jmp 0x417278
add ebx, 9
push ebx
call sub.msvcrt.dll_atoi
add esp, 4
push eax
call fcn.0042b380
jmp 0x417275
mov ecx, dword [eax + 0x50]
test ecx, ecx
je 0x41720e
add eax, 0x4c
mov ecx, esp
push eax
call fcn.00556b50
jmp 0x41723e
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov byte [esp], 0xe
mov dword [esp + 4], 0x6e776f6e
mov dword [esp + 1], 0x6e6b6e75
mov byte [esp + 8], 0
push ebx
call fcn.00418550
add esp, 4
mov eax, esp
push eax
push ebx
call fcn.00418020
add esp, 8
test byte [esp], 1
je 0x417265
push dword [esp + 8]
call fcn.004fc300
add esp, 4
test byte [esp + 0x10], 1
je 0x417278
push dword [esp + 0x18]
call fcn.004fc300
add esp, 4
mov bl, 1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ebx, [esp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
push 1
push ebx
push 0
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004262d0
add esp, 0x1c
test eax, eax
je 0x4174b1
mov esi, eax
push eax
call fcn.004247c0
add esp, 4
movzx eax, byte [esi + 0x1c]
test al, 1
jne 0x41730e
shr eax, 1
test eax, eax
jne 0x417315
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov byte [esp + 0x28], 0x12
mov dword [esp + 0x2d], 0x6e776f6e
mov dword [esp + 0x29], 0x6b6e753c
mov word [esp + 0x31], 0x3e
jmp 0x417324
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4172d8
mov eax, esi
lea ecx, [esp + 0x28]
add eax, 0x1c
push eax
call fcn.00556b50
lea ecx, [esp + 0x28]
push str.reconnecting
push 0
call fcn.00555ed0
mov ecx, dword [eax + 8]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x38]
movsd xmm0, qword [eax]
movsd qword [esp + 0x38], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
push 0x5864a4
call fcn.00555840
mov ecx, dword [eax + 8]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x5c]
movsd xmm0, qword [eax]
movsd qword [esp + 0x48], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
push esi
call fcn.004271e0
movzx eax, byte [esp + 0x5c]
mov edi, ebx
test al, 1
je 0x4173ab
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
jmp 0x4173b1
shr eax, 1
lea edx, [esp + 0x5d]
lea ecx, [esp + 0x48]
push eax
push edx
call fcn.00555860
mov ecx, dword [eax + 8]
mov dword [esp + 8], ecx
mov ecx, esp
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
push 0x5864a7
call fcn.00555840
mov ecx, dword [eax + 4]
mov bl, byte [eax]
mov dword [esp + 0x57], ecx
mov ecx, dword [eax + 1]
mov dword [esp + 0x54], ecx
mov esi, dword [eax + 8]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
test byte [esp + 0x10], 1
jne 0x417423
mov word [esp + 0x10], 0
jmp 0x41744d
mov eax, dword [esp + 0x18]
mov byte [eax], 0
mov dword [esp + 0x14], 0
test byte [esp + 0x10], 1
je 0x41744d
push dword [esp + 0x18]
call fcn.004fc300
add esp, 4
mov dword [esp + 0x10], 0
test byte [esp], 1
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x57]
mov byte [esp + 0x10], bl
mov dword [esp + 0x54], 0
mov dword [esp + 0x57], 0
mov dword [esp + 0x11], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
je 0x417487
push dword [esp + 8]
call fcn.004fc300
add esp, 4
test byte [esp + 0x5c], 1
mov ebx, edi
jne 0x4174c5
test byte [esp + 0x48], 1
jne 0x4174d8
test byte [esp + 0x38], 1
jne 0x4174eb
test byte [esp + 0x28], 1
je 0x4174b1
push dword [esp + 0x30]
call fcn.004fc300
add esp, 4
mov eax, dword [ebp + 0x1c]
mov esi, eax
push eax
call fcn.00418550
add esp, 4
push ebx
jmp 0x41693d
push dword [esp + 0x64]
call fcn.004fc300
add esp, 4
test byte [esp + 0x48], 1
je 0x417497
push dword [esp + 0x50]
call fcn.004fc300
add esp, 4
test byte [esp + 0x38], 1
je 0x41749e
push dword [esp + 0x40]
call fcn.004fc300
add esp, 4
test byte [esp + 0x28], 1
jne 0x4174a5
jmp 0x4174b1
call fcn.004ddb30
cmp eax, 1
jg 0x416910
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov edi, esp
mov ecx, edi
mov dword [esp + 0x34], eax
push 0xffffffffffffffff
push 0
push 1
push 0
push 0x436
push str.system_core_adb_adb.cpp
call fcn.004ddb50
mov ecx, edi
call fcn.004ddb40
mov edi, eax
lea eax, [esp + 0x10]
push str.Getting_device_list...
push eax
call fcn.004deac0
add esp, 8
movzx eax, byte [esp + 0x10]
test al, 1
je 0x4175c1
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
jmp 0x4175c7
call fcn.004ddb30
cmp eax, 1
jg 0x41692e
call dword [sym.imp.msvcrt.dll__errno]
mov ebx, dword [eax]
lea esi, [esp + 0x48]
mov ecx, esi
push 0xffffffffffffffff
push 0
push 1
push 0
push 0x438
push str.system_core_adb_adb.cpp
call fcn.004ddb50
mov ecx, esi
call fcn.004ddb40
mov esi, eax
mov eax, esp
push str.Sending_device_list...
push eax
call fcn.004deac0
add esp, 8
movzx eax, byte [esp]
test al, 1
je 0x4175fd
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
jmp 0x417603
shr eax, 1
lea ecx, [esp + 0x11]
push eax
push ecx
push edi
call fcn.0056cec0
add esp, 0xc
test byte [esp + 0x10], 1
je 0x4175e5
push dword [esp + 0x18]
call fcn.004fc300
add esp, 4
mov ecx, esp
call fcn.004ddc40
call dword [sym.imp.msvcrt.dll__errno]
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
jmp 0x416910
shr eax, 1
lea ecx, [esp + 1]
push eax
push ecx
push esi
call fcn.0056cec0
add esp, 0xc
test byte [esp], 1
je 0x417620
push dword [esp + 8]
call fcn.004fc300
add esp, 4
lea ecx, [esp + 0x48]
call fcn.004ddc40
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], ebx
jmp 0x41692e
mov edi, esi
mov esi, dword [fcn.005379b0]
push 2
call esi
add esp, 4
push str.adb_server_killed_by_remote_request_n
push eax
call fcn.00438580
add esp, 8
push 1
call esi
add esp, 4
push eax
call sub.msvcrt.dll_fflush
add esp, 4
push edi
call fcn.00418550
add esp, 4
push 0
call sub.msvcrt.dll_exit
mov ecx, esp
call fcn.0053ebb0
lea ecx, [esp + 0x10]
call fcn.0053ebb0
nop word cs:[eax + eax]
nop dword [eax]