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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x50
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x7c]
test byte [ecx], 1
jne 0x46fa55
mov word [ecx], 0
cmp dword [esp + 0x78], 0
jg 0x46fa6d
jmp 0x46fefc
mov eax, dword [ecx + 8]
mov byte [eax], 0
mov dword [ecx + 4], 0
cmp dword [esp + 0x78], 0
jle 0x46fefc
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x7c]
add eax, 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
mov ebp, dword [eax + 4]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
push 0x10
call fcn.0041a1e0
add esp, 4
mov dword [esp + 0x3c], eax
lea ecx, [eax + 0x10]
mov dword [esp + 0x44], ecx
mov dword [eax], ebx
mov dword [eax + 4], 4
mov dword [eax + 8], edi
mov dword [esp + 4], esi
mov dword [eax + 0xc], esi
mov dword [esp + 0x40], ecx
mov eax, dword [ebp]
mov ecx, ebp
lea edx, [esp + 0x3c]
push edx
call dword [eax + 0xc]
mov ebx, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x46fb13
mov dword [esp + 0x40], eax
push eax
call fcn.0041a380
add esp, 4
test bl, bl
je 0x46fe88
mov dword [esp], edi
mov ebx, dword [esp + 0x2c]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
sub edx, eax
mov ebp, dword [ecx]
push 0x1f4
push edx
push eax
call dword [ebp + 0x10]
mov ebp, eax
cmp eax, 0xffffffff
mov esi, dword [esp + 0x64]
jne 0x46fb8b
mov eax, dword [ebx + 4]
cmp byte [eax + 8], 0
je 0x46fe88
mov eax, dword [esp + 0x28]
add eax, 0xffffffff
test eax, eax
mov esi, dword [esp + 4]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp]
jg 0x46faa0
jmp 0x46fefc
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x14]
sub edx, eax
mov ebp, dword [ecx]
push 0x1f4
push edx
push eax
call dword [ebp + 0x10]
mov ebp, eax
cmp eax, 0xffffffff
je 0x46fb44
cmp ebp, 3
jle 0x46fe7d
mov eax, dword [ebx + 0x10]
movzx ecx, byte [esi + 2]
cmp cl, byte [eax + 2]
jne 0x46fb70
movzx ecx, byte [esi + 3]
cmp cl, byte [eax + 3]
jne 0x46fb70
movzx ecx, byte [eax]
cmp byte [esi], cl
je 0x46fbb4
test cl, cl
jne 0x46fb70
mov eax, dword [ebx + 4]
cmp byte [eax + 8], 0
jne 0x46fb51
add dword [ebx + 8], 1
mov ecx, dword [ebx + 0x10]
cmp byte [ecx], 0
je 0x46fc11
mov eax, dword [esp + 0x18]
add eax, ebp
add eax, 0xfffffffc
mov dword [esp + 0x18], eax
add ebp, 0xfffffffc
mov edx, dword [esp + 8]
cmp edx, ebp
cmovb ebp, edx
test ebp, ebp
je 0x46fe47
add ecx, 4
push ebp
push ecx
mov edi, dword [esp + 0x2c]
push edi
mov dword [esp + 0x14], edx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov edx, dword [esp + 0x14]
add esp, 0xc
add edi, ebp
mov dword [esp + 0x24], edi
sub edx, ebp
jmp 0x46fe47
mov dword [esp + 0xc], ecx
mov edi, dword [esp + 0x7c]
movzx edx, byte [edi]
mov ecx, edx
shr ecx, 1
mov eax, dword [edi]
mov dword [esp], eax
and eax, 0xfffffffe
add eax, 0xffffffff
test dl, 1
cmovne ecx, dword [edi + 4]
mov dword [esp + 4], ecx
mov edx, 0xa
cmove eax, edx
mov edi, ebp
add edi, 0xfffffffc
je 0x46fc7d
mov edx, eax
sub edx, dword [esp + 4]
cmp edx, edi
mov dword [esp + 0x14], edi
jae 0x46fc86
mov edx, dword [esp + 4]
lea ecx, [edx + edi]
sub ecx, eax
mov dword [esp], ecx
mov edi, dword [esp + 0x7c]
mov ecx, edi
push 0
push 0
push edx
push edx
push dword [esp + 0x10]
push eax
call fcn.0041e300
mov al, byte [edi]
mov edx, dword [esp + 0xc]
jmp 0x46fc8d
mov edx, dword [esp + 8]
jmp 0x46fe47
mov edx, dword [esp + 0xc]
mov eax, dword [esp]
mov edi, dword [esp + 0x4c]
test al, 1
je 0x46fc9c
mov eax, dword [esp + 0x7c]
mov edi, dword [eax + 8]
lea ecx, [edx + 4]
add edx, ebp
mov eax, dword [esp + 4]
mov dword [esp + 0x10], edi
add eax, edi
mov edi, dword [esp + 0x14]
cmp edi, 0x20
mov dword [esp + 0x1c], edx
jb 0x46fdb5
cmp eax, edx
jae 0x46fcd5
add ebp, dword [esp + 4]
mov edx, dword [esp + 0x10]
add edx, ebp
add edx, 0xfffffffc
cmp ecx, edx
jb 0x46fdb5
and edi, 0xffffffe0
mov dword [esp + 0x48], edi
add edi, 0xffffffe0
mov edx, edi
shr edx, 5
add edx, 1
mov dword [esp + 0x20], edx
and edx, 3
mov dword [esp], edx
xor edx, edx
cmp edi, 0x60
mov ebp, dword [esp + 0xc]
jb 0x46fd69
and dword [esp + 0x20], 0xfffffffc
mov edx, dword [esp + 4]
mov edi, dword [esp + 0x10]
add edi, edx
add edi, 0x70
xor edx, edx
movups xmm0, xmmword [ebp + edx + 4]
movups xmm1, xmmword [ebp + edx + 0x14]
movups xmmword [edi + edx - 0x70], xmm0
movups xmmword [edi + edx - 0x60], xmm1
movups xmm0, xmmword [ebp + edx + 0x24]
movups xmm1, xmmword [ebp + edx + 0x34]
movups xmmword [edi + edx - 0x50], xmm0
movups xmmword [edi + edx - 0x40], xmm1
movups xmm0, xmmword [ebp + edx + 0x44]
movups xmm1, xmmword [ebp + edx + 0x54]
movups xmmword [edi + edx - 0x30], xmm0
movups xmmword [edi + edx - 0x20], xmm1
movups xmm0, xmmword [ebp + edx + 0x64]
movups xmm1, xmmword [ebp + edx + 0x74]
movups xmmword [edi + edx - 0x10], xmm0
movups xmmword [edi + edx], xmm1
sub edx, 0xffffff80
add dword [esp + 0x20], 0xfffffffc
jne 0x46fd10
cmp dword [esp], 0
je 0x46fda5
mov edi, dword [esp + 0xc]
add edi, edx
add edi, 0x14
add edx, dword [esp + 4]
mov ebp, dword [esp + 0x10]
add edx, ebp
add edx, 0x10
shl dword [esp], 5
xor ebp, ebp
movups xmm0, xmmword [edi + ebp - 0x10]
movups xmm1, xmmword [edi + ebp]
movups xmmword [edx + ebp - 0x10], xmm0
movups xmmword [edx + ebp], xmm1
add ebp, 0x20
cmp dword [esp], ebp
jne 0x46fd8b
mov edx, dword [esp + 0x48]
add eax, edx
mov edi, dword [esp + 0x14]
cmp edi, edx
je 0x46fe28
add ecx, edx
mov edi, dword [esp + 0x1c]
sub edi, ecx
lea ebp, [edi - 1]
and edi, 7
je 0x46fdd3
movzx edx, byte [ecx]
mov byte [eax], dl
add eax, 1
add ecx, 1
add edi, 0xffffffff
jne 0x46fdc3
cmp ebp, 7
mov edx, dword [esp + 8]
mov edi, dword [esp + 0x14]
jb 0x46fe2c
mov dword [esp + 8], edx
mov ebp, dword [esp + 0x1c]
movzx edx, byte [ecx]
mov byte [eax], dl
movzx edx, byte [ecx + 1]
mov byte [eax + 1], dl
movzx edx, byte [ecx + 2]
mov byte [eax + 2], dl
movzx edx, byte [ecx + 3]
mov byte [eax + 3], dl
movzx edx, byte [ecx + 4]
mov byte [eax + 4], dl
movzx edx, byte [ecx + 5]
mov byte [eax + 5], dl
movzx edx, byte [ecx + 6]
mov byte [eax + 6], dl
movzx edx, byte [ecx + 7]
mov byte [eax + 7], dl
add eax, 8
add ecx, 8
cmp ecx, ebp
jne 0x46fde8
mov edx, dword [esp + 8]
mov byte [eax], 0
mov ecx, dword [esp + 4]
add ecx, edi
mov eax, dword [esp + 0x7c]
test byte [eax], 1
jne 0x46fe44
add cl, cl
mov byte [eax], cl
jmp 0x46fe47
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x10]
test byte [eax + 1], 1
je 0x46fece
mov dword [esp + 8], edx
mov al, byte [eax]
mov ecx, dword [ebx + 8]
mov byte [esi], al
mov byte [esi + 1], 0
mov byte [esi + 2], ch
mov byte [esi + 3], cl
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [esp + 0x78]
jmp 0x46fb58
mov ecx, dword [esp + 0x7c]
push str.protocol_error:_incomplete_header
jmp 0x46ff05
lea eax, [esp + 0x30]
push eax
call fcn.004a9b50
add esp, 4
mov esi, dword [esp + 0x7c]
test byte [esi], 1
je 0x46febb
mov eax, dword [esi + 8]
mov byte [eax], 0
mov dword [esi + 4], 0
test byte [esi], 1
je 0x46febb
push dword [esi + 8]
call fcn.0041a380
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esi + 8], eax
movsd xmm0, qword [esp + 0x30]
movsd qword [esi], xmm0
jmp 0x46ff0a
cmp dword [esp + 0x28], 0
jle 0x46fefc
cmp byte [eax], 0
mov eax, dword [esp + 0x18]
jne 0x46ff0f
lea eax, [esp + 0x30]
mov esi, dword [esp + 0x7c]
push esi
push str.target_reported_error:
push eax
call fcn.00421fc0
add esp, 0xc
test byte [esi], 1
jne 0x46fe9e
jmp 0x46febb
mov ecx, dword [esp + 0x7c]
push str.no_response_from_target
call fcn.0041e510
mov eax, 0xffffffff
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c