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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x100
mov edi, dword [ebp + 8]
mov dword [esp + 0x10], ecx
call fcn.00447d20
mov esi, eax
test edi, edi
mov dword [esp + 0x44], edx
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
je 0x42af75
test byte [edi], 1
jne 0x42af29
mov word [edi], 0
jmp 0x42af4c
mov eax, dword [edi + 8]
mov byte [eax], 0
mov dword [edi + 4], 0
test byte [edi], 1
je 0x42af4c
push dword [edi + 8]
call fcn.0040bd10
add esp, 4
mov dword [edi], 0
mov eax, dword [esp + 0x70]
mov dword [edi + 8], eax
movsd xmm0, qword [esp + 0x68]
movsd qword [edi], xmm0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x10]
lea ebx, [eax + 4]
lea eax, [edi + 1]
lea edi, [esp + 0xbb]
mov dword [esp + 0x74], eax
mov dword [esp + 0x2c], ebx
nop
call fcn.00447d20
sub eax, esi
mov ecx, 0xfc23abff
sbb edx, dword [esp + 0x44]
cmp ecx, eax
mov eax, 6
sbb eax, edx
jl 0x42b6ab
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0x40
push edi
call dword [eax + 8]
test eax, eax
js 0x42b6b8
mov byte [esp + eax + 0xbb], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
push edi
call sub.msvcrt.dll_strlen
add esp, 4
cmp eax, 0xfffffff0
jae 0x42b78c
mov ebx, eax
cmp eax, 0xb
jae 0x42b010
mov eax, ebx
lea edi, [esp + 1]
add al, bl
test ebx, ebx
mov byte [esp], al
jne 0x42b039
jmp 0x42b04b
mov dword [esp + 0x28], esi
mov esi, ebx
add esi, 0x10
and esi, 0xfffffff0
push esi
call fcn.0040bb60
add esp, 4
or esi, 1
mov dword [esp + 8], eax
mov edi, eax
mov dword [esp], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 4], ebx
push ebx
lea eax, [esp + 0xbf]
push eax
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov byte [edi + ebx], 0
movzx eax, byte [esp]
test al, 1
je 0x42b070
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
jmp 0x42b076
shr eax, 1
lea ecx, [esp + 1]
mov ebx, dword [esp + 0x2c]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0xb0], str.INFO
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0xb4], 4
sub esp, 0x10
movsd xmm0, qword [esp + 0xc0]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0xa0]
movsd qword [esp], xmm0
call fcn.00428fa0
add esp, 0x10
test al, al
je 0x42b1b0
lea esi, [esp + 0x18]
mov eax, esp
mov ecx, esi
push eax
push 0xffffffffffffffff
push 4
push eax
call fcn.004e9120
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x50]
test ecx, ecx
je 0x42b793
mov eax, dword [ecx]
push esi
call dword [eax + 0x18]
movsd xmm0, qword [esp + 0x18]
mov eax, dword [esp + 0x20]
test edi, edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x40], eax
movsd qword [esp + 0x38], xmm0
je 0x42b162
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
jae 0x42b272
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
movsd xmm0, qword [esp + 0x38]
movsd qword [eax], xmm0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
add dword [edi + 4], 0xc
test byte [esp + 0x38], 1
je 0x42b175
push dword [esp + 0x40]
call fcn.0040bd10
add esp, 4
call fcn.00447d20
test byte [esp + 0x18], 1
mov esi, eax
mov dword [esp + 0x44], edx
je 0x42b193
push dword [esp + 0x20]
call fcn.0040bd10
add esp, 4
xor edi, edi
test byte [esp], 1
jne 0x42b68b
jmp 0x42b697
movzx eax, byte [esp]
test al, 1
je 0x42b1d0
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
jmp 0x42b1d6
shr eax, 1
lea ecx, [esp + 1]
lea edi, [esp + 0xbb]
mov dword [esp + 0xa8], str.OKAY
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0xac], 4
sub esp, 0x10
movsd xmm0, qword [esp + 0xb8]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x98]
movsd qword [esp], xmm0
call fcn.00428fa0
add esp, 0x10
test al, al
je 0x42b260
mov eax, esp
lea ecx, [esp + 0x58]
push eax
push 0xffffffffffffffff
push 4
push eax
call fcn.004e9120
mov edi, dword [ebp + 8]
test edi, edi
je 0x42b32a
test byte [edi], 1
jne 0x42b34b
mov word [edi], 0
jmp 0x42b36e
movzx eax, byte [esp]
test al, 1
je 0x42b28e
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
jmp 0x42b294
lea eax, [esp + 0x38]
mov ecx, edi
push eax
call fcn.005074f0
test byte [esp + 0x38], 1
jne 0x42b169
jmp 0x42b175
shr eax, 1
lea ecx, [esp + 1]
mov dword [esp + 0xa0], str.FAIL
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0xa4], 4
sub esp, 0x10
movsd xmm0, qword [esp + 0xb0]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x90]
movsd qword [esp], xmm0
call fcn.00428fa0
add esp, 0x10
test al, al
je 0x42b311
lea eax, [esp + 0xbf]
push eax
push str.remote:__s
lea eax, [esp + 0x20]
push eax
call fcn.00447a80
add esp, 0xc
test byte [ebx], 1
jne 0x42b3a4
mov word [ebx], 0
jmp 0x42b3d5
movzx eax, byte [esp]
test al, 1
je 0x42b415
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
jmp 0x42b41b
test byte [esp + 0x58], 1
mov edi, 1
mov dword [esp + 0x14], 0
je 0x42b685
push dword [esp + 0x60]
jmp 0x42b537
mov eax, dword [edi + 8]
mov byte [eax], 0
mov dword [edi + 4], 0
test byte [edi], 1
je 0x42b36e
push dword [edi + 8]
call fcn.0040bd10
add esp, 4
mov dword [edi], 0
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], 0
mov dword [edi + 8], eax
movsd xmm0, qword [esp + 0x58]
movsd qword [edi], xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
jmp 0x42b680
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
mov byte [eax], 0
mov dword [ecx + 8], 0
test byte [ecx + 4], 1
je 0x42b3d5
mov edi, esi
mov esi, dword [esp + 0x10]
push dword [esi + 0xc]
call fcn.0040bd10
add esp, 4
mov dword [esi + 4], 0
mov esi, edi
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x48]
mov dword [ebx + 8], eax
mov eax, esp
movsd xmm0, qword [esp + 0x18]
movsd qword [ebx], xmm0
push eax
push 0xffffffffffffffff
push 4
push eax
call fcn.004e9120
mov edi, dword [ebp + 8]
test edi, edi
je 0x42b51b
test byte [edi], 1
jne 0x42b54e
mov word [edi], 0
jmp 0x42b571
shr eax, 1
lea ecx, [esp + 1]
mov dword [esp + 0x98], str.DATA
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x9c], 4
sub esp, 0x10
movsd xmm0, qword [esp + 0xa8]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x88]
movsd qword [esp], xmm0
call fcn.00428fa0
add esp, 0x10
test al, al
je 0x42b4f5
mov eax, esp
lea ecx, [esp + 0x18]
push eax
push 0xffffffffffffffff
push 4
push eax
call fcn.004e9120
test byte [esp + 0x18], 1
lea eax, [esp + 0x19]
je 0x42b489
mov eax, dword [esp + 0x20]
push 0x10
push 0
push eax
call sub.msvcrt.dll_strtol
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
test ecx, ecx
je 0x42b4a2
mov dword [ecx], eax
lea eax, [esp + 0x19]
movzx ebx, byte [esp + 0x18]
test edi, edi
mov ecx, eax
mov eax, dword [eax]
mov ecx, dword [ecx + 3]
mov dword [esp + 0x33], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
je 0x42b5f6
test byte [edi], 1
mov dword [esp + 0x28], eax
jne 0x42b606
mov word [edi], 0
jmp 0x42b629
push edi
push str.Device_sent_unknown_status_code:__s
lea eax, [esp + 0x20]
push eax
call fcn.00447a80
add esp, 0xc
test byte [ebx], 1
jne 0x42b5a7
mov word [ebx], 0
jmp 0x42b5d8
test byte [esp + 0x48], 1
mov edi, 1
mov dword [esp + 0x14], 4
je 0x42b685
push dword [esp + 0x50]
call fcn.0040bd10
add esp, 4
test byte [esp], 1
jne 0x42b68b
jmp 0x42b697
mov eax, dword [edi + 8]
mov byte [eax], 0
mov dword [edi + 4], 0
test byte [edi], 1
je 0x42b571
push dword [edi + 8]
call fcn.0040bd10
add esp, 4
mov dword [edi], 0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x14], 4
mov dword [edi + 8], eax
movsd xmm0, qword [esp + 0x48]
movsd qword [edi], xmm0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
jmp 0x42b680
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
mov byte [eax], 0
mov dword [ecx + 8], 0
test byte [ecx + 4], 1
je 0x42b5d8
mov edi, esi
mov esi, dword [esp + 0x10]
push dword [esi + 0xc]
call fcn.0040bd10
add esp, 4
mov dword [esi + 4], 0
mov esi, edi
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], 3
mov dword [ebx + 8], eax
movsd xmm0, qword [esp + 0x18]
movsd qword [ebx], xmm0
jmp 0x42b680
test bl, 1
je 0x42b653
push eax
call fcn.0040bd10
add esp, 4
jmp 0x42b653
mov eax, dword [edi + 8]
mov byte [eax], 0
mov dword [edi + 4], 0
test byte [edi], 1
je 0x42b629
push dword [edi + 8]
call fcn.0040bd10
add esp, 4
mov dword [edi], 0
mov byte [edi], bl
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x33]
mov eax, dword [esp + 0x30]
mov dword [edx + 3], ecx
mov ecx, dword [esp + 0x28]
mov dword [edx], eax
mov dword [edi + 8], ecx
mov dword [esp + 0x33], 0
mov dword [esp + 0x30], 0
test byte [esp + 0x18], 1
mov ebx, dword [esp + 0x2c]
je 0x42b66a
push dword [esp + 0x20]
call fcn.0040bd10
add esp, 4
mov dword [esp + 0x14], 0
nop word cs:[eax + eax]
nop dword [eax]
mov edi, 1
test byte [esp], 1
je 0x42b697
push dword [esp + 8]
call fcn.0040bd10
add esp, 4
test edi, edi
lea edi, [esp + 0xbb]
je 0x42af90
jmp 0x42b77e
mov dword [esp + 0x14], 5
jmp 0x42b77e
push 0x20
call fcn.0040bb60
add esp, 4
mov edi, eax
mov word [eax + 0x10], 0x6465
mov dword [eax + 0xc], 0x6c696166
mov dword [eax + 8], 0x20646165
mov dword [eax + 4], 0x72207375
mov dword [eax], 0x74617453
mov byte [eax + 0x12], 0
call dword [sym.imp.msvcrt.dll__errno]
push dword [eax]
call sub.msvcrt.dll_strerror
add esp, 4
push eax
push edi
push str._s___s_
lea eax, [esp + 0xc]
push eax
call fcn.00447a80
add esp, 0x10
test byte [ebx], 1
jne 0x42b719
mov word [ebx], 0
jmp 0x42b746
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
mov byte [eax], 0
mov dword [ecx + 8], 0
test byte [ecx + 4], 1
je 0x42b746
mov esi, dword [esp + 0x10]
push dword [esi + 0xc]
call fcn.0040bd10
add esp, 4
mov dword [esi + 4], 0
mov eax, dword [esp + 8]
mov dword [ebx + 8], eax
movsd xmm0, qword [esp]
movsd qword [ebx], xmm0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
push edi
call fcn.0040bd10
add esp, 4
mov dword [esp + 0x14], 2
mov eax, dword [esp + 0x14]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov ecx, esp
call fcn.004d1480
call sub.msvcrt.dll_abort
nop dword [eax + eax]