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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x6dff44]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0xffffffff
push edi
push eax
call dword [0x75d748]
movzx esi, ax
add esp, 4
cmp esi, 0x9000
je 0x427148
push str.open_dev_error
call fcn.004127e0
mov dword [0x75e2ec], 0x1416
mov ax, si
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.005b977a
mov esp, ebp
pop ebp
ret
push 0xfa
call dword [0x64e27c]
push 2
push dword [esp + 0x28]
mov byte [esp + 0x14], 0
call dword [0x75d758]
movzx edi, ax
add esp, 8
mov eax, dword [0x75e31c]
mov esi, edi
cmp eax, 0x11
je 0x42718a
cmp eax, 0x13
je 0x42718a
cmp eax, 0x15
je 0x42718a
cmp eax, 0x33
je 0x42718a
cmp eax, 0x31
jne 0x4271b5
push 3
push dword [esp + 0x28]
call dword [0x75d758]
movzx esi, ax
add esp, 8
mov eax, dword [esp + 0xc]
cmp esi, 0x9000
movzx eax, al
mov ecx, 1
cmovne eax, ecx
mov dword [esp + 0xc], eax
xorps xmm0, xmm0
lea ecx, [esp + 0x28]
mov edx, 0x75e2f8
movlpd qword [esp + 0x28], xmm0
call fcn.004685d0
push 0x40
xorps xmm0, xmm0
lea eax, [esp + 0x7c]
push 0
push eax
movaps xmmword [esp + 0x3c], xmm0
movaps xmmword [esp + 0x6c], xmm0
movaps xmmword [esp + 0x1c], xmm0
call fcn.005f6720
add esp, 0xc
cmp edi, 0x9000
je 0x4272b9
mov eax, dword [esp + 0x28]
mov dword [esp + 0x31], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x35], eax
lea eax, [esp + 0x10]
push eax
push ecx
lea eax, [esp + 0x30]
mov byte [esp + 0x38], 2
push eax
mov ecx, 0x6e10b0
mov dword [esp + 0x45], 0x800000
mov dword [esp + 0x54], reloc.WS2_32.dll_bind
mov byte [esp + 0x58], 0
call fcn.00415ca0
add esp, 0xc
lea eax, [esp + 0x60]
lea edx, [esp + 0x10]
lea ecx, [esp + 0x30]
push 0x10
push eax
call fcn.00415e30
movups xmm0, xmmword [esp + 0x68]
add esp, 8
lea edx, [esp + 0x7a]
xor esi, esi
movups xmmword [esp + 0x4d], xmm0
movzx ecx, byte [esp + esi + 0x48]
lea edx, [edx + 2]
mov eax, ecx
mov byte [edx - 2], 0
shr eax, 4
and ecx, 0xf
inc esi
movzx eax, byte [eax + 0x697644]
mov byte [edx - 4], al
movzx eax, byte [ecx + 0x697644]
mov byte [edx - 3], al
cmp esi, 0x15
jb 0x427264
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x28]
call dword [0x75d754]
movzx esi, ax
add esp, 8
cmp esi, 0x9000
je 0x4272b9
mov esi, 0xa00b
jmp 0x427383
cmp byte [esp + 0xc], 0
je 0x427383
mov eax, dword [esp + 0x28]
mov dword [esp + 0x31], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x35], eax
lea eax, [esp + 0x10]
push eax
push ecx
lea eax, [esp + 0x30]
mov byte [esp + 0x38], 3
push eax
mov ecx, 0x6e10b0
mov dword [esp + 0x45], 0x800000
mov dword [esp + 0x54], reloc.WS2_32.dll_closesocket
mov byte [esp + 0x58], 0
call fcn.00415ca0
add esp, 0xc
lea eax, [esp + 0x60]
lea edx, [esp + 0x10]
lea ecx, [esp + 0x30]
push 0x10
push eax
call fcn.00415e30
movups xmm0, xmmword [esp + 0x68]
add esp, 8
mov byte [esp + 0x78], 0
xor esi, esi
lea edx, [esp + 0x7a]
movups xmmword [esp + 0x4d], xmm0
movzx ecx, byte [esp + esi + 0x48]
lea edx, [edx + 2]
mov eax, ecx
mov byte [edx - 2], 0
shr eax, 4
and ecx, 0xf
inc esi
movzx eax, byte [eax + 0x697644]
mov byte [edx - 4], al
movzx eax, byte [ecx + 0x697644]
mov byte [edx - 3], al
cmp esi, 0x15
jb 0x427332
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x28]
call dword [0x75d754]
movzx esi, ax
add esp, 8
cmp esi, 0x9000
mov eax, 0xa00b
cmovne esi, eax
push dword [esp + 0x24]
call dword [0x75d740]
mov ecx, dword [esp + 0xc0]
add esp, 4
mov ax, si
pop edi
pop esi
xor ecx, esp
call fcn.005b977a
mov esp, ebp
pop ebp
ret