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

Disassembly:
sub esp, 0xbc
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xcc]
push ebx
push ebp
mov ebp, dword [esp + 0xcc]
mov dl, byte [ecx + 0x10a164a0]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xd8]
push esi
mov esi, dword [esp + 0xcc]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10b0]
push edi
lea edi, [ebp + 0xe0]
mov dword [esp + 0x28], ecx
movzx ebx, dl
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebp + 0x23b6c]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ebp
mov byte [esp + 0x64], 0
mov cl, byte [eax + 0x10a14648]
cmp dl, cl
movzx eax, cl
mov ecx, dword [esp + 0x1c]
cmovae ebx, eax
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0xffffffff
mov byte [esp + 0x74], 0
mov byte [ecx + 0x89], bl
cmp byte [esi + 0x5d1a0], 0
je 0x1048a083
mov edx, dword [esp + 0x28]
mov esi, 1
movzx ecx, byte [esp + 0x74]
movzx eax, bl
cmp edx, dword [eax*4 + 0x10a168a0]
cmove ecx, esi
mov byte [esp + 0x74], cl
push dword [edi + 0xfdc]
mov esi, dword [edi + 0xfd8]
mov byte [esp + 0x17], 0
call fcn.100b88f0
mov bl, al
push esi
mov byte [esp + 0x22], bl
call fcn.100b88f0
mov ecx, dword [ebp + 0x243a4]
add esp, 8
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x50], ecx
movzx ecx, bl
xor ebx, ebx
mov byte [esp + 0x1b], al
mov dword [esp + 0xa0], htons
mov dword [esp + 0xa8], 0xffffffff
imul edx, dword [ecx*4 + 0x10a16954], 0xd
movzx ecx, al
mov dword [esp + 0xac], htons
mov dword [esp + 0xb0], 0xffffffff
mov dword [esp + 0xb4], htons
add edx, dword [ecx*4 + 0x10a16954]
mov dword [esp + 0xb8], 0xffffffff
mov dword [esp + 0xbc], htons
mov byte [esp + 0xc0], 0
mov dword [esp + 0xa4], 0
and byte [esi + 0x9f], 0xcf
imul eax, edx, 0x34
mov edx, dword [esp + 0xd0]
mov word [esi + 5], 0
mov word [esi + 0x86], 0
mov byte [esi + 0x53], 0
add eax, 0x35d8
mov dword [esi + 0x10], 0
add eax, ebp
mov dword [esi + 0xc], 0
mov word [esi + 0x1c], 0x100
mov byte [esi + 0x44], 0
mov dword [esp + 0x54], eax
mov word [esi + 0x14], 0xff00
mov eax, dword [edx + 0x3adb8]
cmp eax, 4
movzx ecx, ax
cmove ecx, ebx
mov byte [esp + 0x98], 0
movq xmm0, qword [esp + 0x98]
movzx eax, cx
movq qword [esp + 0x20], xmm0
mov ecx, eax
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x8c], htons
mov dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x94], htons
movups xmm0, xmmword [esp + 0x88]
mov dword [esp + 0x78], closesocket
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x84], htons
mov dword [esp + 0x7c], 0
shl ecx, 0x10
movups xmmword [esp + 0x30], xmm0
or ecx, eax
mov dword [esp + 0x2c], ebx
movups xmm0, xmmword [esp + 0x78]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x10], 0x80008000
mov dword [esi + 0xc], 0x80008000
movups xmmword [esp + 0x40], xmm0
jmp 0x1048a234
mov esi, dword [esp + 0x1c]
cmp byte [edx + 0x5d19e], 0
mov bl, byte [ebx + 0x10a15114]
mov al, byte [esp + 0x13]
je 0x1048a254
cmp bl, 2
jne 0x1048a254
cmp al, 1
je 0x1048a4c0
cmp byte [edx + 0x5d19f], 0
je 0x1048a2a1
test bl, bl
je 0x1048a2a1
cmp byte [edi + 0xfd4], 0
je 0x1048a2a1
cmp bl, byte [esp + 0x1a]
je 0x1048a2a1
cmp byte [edi + 0xfd5], 0
je 0x1048a2a1
cmp bl, byte [esp + 0x1b]
je 0x1048a2a1
cmp bl, 1
je 0x1048a289
cmp bl, 2
jne 0x1048a294
cmp dword [esp + 0x50], 0x32
jbe 0x1048a4c0
test al, al
jne 0x1048a2a1
cmp bl, 9
je 0x1048a4c0
lea eax, [esp + 0xa0]
mov dword [esp + 0xa0], 0
mov dword [esp + 0x6c], eax
xorps xmm0, xmm0
lea eax, [esp + 0x5c]
movlpd qword [esp + 0xa8], xmm0
push eax
push 0x104932e0
push 0
push dword [esp + 0x34]
mov byte [esp + 0x74], bl
mov dword [esp + 0x78], 1
push edi
mov byte [esi + 5], bl
call fcn.10106c00
mov eax, dword [esp + 0xb4]
add esp, 0x14
cmp eax, 0x7fffffff
je 0x1048a4a3
mov ecx, dword [edi + 0xfdc]
mov edx, dword [edi + 0xfd8]
test ecx, ecx
je 0x1048a316
movzx esi, byte [ecx + 0x88]
jmp 0x1048a318
xor esi, esi
test edx, edx
je 0x1048a325
movzx ecx, byte [edx + 0x88]
jmp 0x1048a327
xor ecx, ecx
add ecx, esi
cmp dword [esp + 0x68], 0
je 0x1048a339
mov eax, dword [ebp + ecx*8 + 0x7c3c]
jmp 0x1048a340
add eax, dword [ebp + ecx*8 + 0x7c38]
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0xac]
mov dword [esp + 0xa0], eax
movzx ecx, bl
add eax, dword [edx + ecx*4]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xa0], eax
imul dword [ebp + 0x31cc]
add eax, 0x100
adc edx, 0
shld esi, ecx, 7
shrd eax, edx, 9
shl ecx, 7
sar edx, 9
add eax, ecx
mov dword [esp + 0xb0], eax
adc edx, esi
mov dword [esp + 0xb4], edx
cmp edx, dword [esp + 0x8c]
jg 0x1048a4a3
jl 0x1048a3b0
cmp eax, dword [esp + 0x88]
jae 0x1048a4a3
cmp byte [esp + 0xc0], 0
mov al, bl
movups xmm0, xmmword [esp + 0xb0]
mov esi, dword [esp + 0x14]
movups xmm2, xmmword [esp + 0xa0]
mov byte [esp + 0x13], al
movq xmm1, qword [esp + 0xc0]
movups xmmword [esp + 0x40], xmm2
movups xmmword [esp + 0x30], xmm0
movups xmmword [esp + 0x88], xmm0
movq qword [esp + 0x20], xmm1
jne 0x1048a41d
push dword [esi + 0x144]
push 0
push dword [esi + 0x100]
call fcn.10513d40
movups xmm0, xmmword [esp + 0x3c]
add esp, 0xc
mov al, bl
movq xmm1, qword [esp + 0x20]
movups xmm2, xmmword [esp + 0x40]
mov edx, dword [esp + 0xd0]
mov ebx, dword [esp + 0x2c]
inc ebx
mov dword [esp + 0x2c], ebx
cmp ebx, 4
jl 0x1048a230
mov ecx, dword [esp + 0x1c]
mov byte [ecx + 5], al
mov eax, dword [esp + 0x58]
mov byte [ecx + 6], 0
movups xmmword [eax], xmm2
movups xmmword [eax + 0x10], xmm0
movq qword [eax + 0x20], xmm1
cmp dword [edx + 0x3eb34], 0
jne 0x1048a480
cmp dword [edx + 0x3eb30], 0
jne 0x1048a480
mov byte [ebp + 0x23b80], 0
push dword [esi + 0x144]
push 0
push dword [esi + 0x100]
call fcn.10513d40
add esp, 0xc
push esi
push ebp
call fcn.1048dcf0
mov ecx, dword [esp + 0xd0]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.105116c0
add esp, 0xbc
ret
movups xmm0, xmmword [esp + 0x30]
mov al, byte [esp + 0x13]
movq xmm1, qword [esp + 0x20]
movups xmm2, xmmword [esp + 0x40]
mov esi, dword [esp + 0x14]
jmp 0x1048a41d
movups xmm0, xmmword [esp + 0x30]
mov al, byte [esp + 0x13]
movq xmm1, qword [esp + 0x20]
movups xmm2, xmmword [esp + 0x40]
mov esi, dword [esp + 0x14]
jmp 0x1048a424