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

Disassembly:
sub esp, 0xa0
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x44], eax
push ebx
mov ebx, dword [esp + 0xac]
push ebp
mov ebp, dword [esp + 0xb4]
push esi
mov eax, dword [ebx + 0x10b0]
mov esi, dword [esp + 0xb0]
lea ecx, [esi + 0x3abf0]
mov dword [esp + 0x1c], esi
push edi
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x50], ecx
mov al, byte [eax + 0x9f]
and al, 7
mov byte [esp + 0x2f], al
movzx eax, al
imul eax, eax, 0x16
add eax, ebp
imul eax, eax, 0x2a4
add eax, 0x3f6e4
add eax, esi
mov dword [esp + 0x60], eax
imul eax, ebp, 0x2a4
add eax, 0x17bc4
add eax, ebx
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x3ede8]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x3bb8]
push dword [eax + 0x48]
push dword [ecx + 0x21c]
push dword [ecx + 0x218]
call fcn.1007f140
mov ecx, eax
add esp, 0xc
mov eax, dword [ebx + 0x31cc]
cdq
mov edi, eax
mov dword [esp + 0x48], ecx
add ecx, dword [esp + 0xc4]
mov eax, edx
push eax
push edi
push 0
push ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x68], eax
call fcn.10511b50
mov ecx, dword [esp + 0x20]
mov edi, edx
mov esi, dword [esi + 0x5d084]
mov edx, eax
add edx, 0x100
mov dword [esp + 0x44], 0
adc edi, 0
shrd edx, edi, 9
sar edi, 9
cmp dword [ecx + 0x91588], 0
mov dword [esp + 0x14], edx
jle 0x10493655
mov eax, dword [esp + 0x18]
cmp byte [eax + 7], 4
je 0x10493655
mov eax, dword [ecx + 0x9158c]
test eax, eax
jle 0x10493655
imul ecx, eax, 0x3348
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], 0
mov eax, dword [eax + 0x916a4]
cmp dword [eax + ecx + 0x3340], 0
mov ecx, dword [esp + 0x20]
cmove esi, dword [esp + 0x40]
mov eax, dword [ecx]
mov dword [esp + 0x40], 1
mov dword [esp + 0x24], 0x32
mov dword [esp + 0x34], 0x20
cmp dword [eax + 0xc4a8], 0
jne 0x1049368a
cmp dword [ecx + 0x5d0a4], 0
jne 0x1049369a
cmp dword [ecx + 0x5d09c], 0
jle 0x1049369a
mov dword [esp + 0x24], 0x96
mov dword [esp + 0x34], 0
mov ecx, dword [ebx + 0x243a4]
mov eax, dword [esp + 0x24]
cmp ecx, eax
jae 0x104937ad
mov edx, dword [esp + 0x30]
cmp dword [edx + 0x10], 0xffffffff
mov edx, dword [esp + 0x14]
jne 0x104936cd
mov ecx, dword [esp + 0x30]
cmp dword [ecx + 0x14], 0x7fffffff
mov ecx, dword [ebx + 0x243a4]
je 0x1049374b
mov eax, dword [esp + 0x18]
cmp byte [eax + 7], 1
jne 0x104936fd
mov eax, dword [esp + 0x1c]
movsx eax, word [eax + 0xc]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [esp + 0x34]
jge 0x104936fd
mov eax, dword [esp + 0x1c]
movsx eax, word [eax + 0xe]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [esp + 0x34]
jl 0x10493743
push dword [esp + 0x58]
mov eax, dword [esp + 0x4c]
push dword [esp + 0x2c]
sar eax, 2
mov dword [esp + 0x50], eax
add eax, dword [esp + 0xcc]
push 0
push eax
call fcn.10511b50
mov ecx, dword [ebx + 0x243a4]
mov edi, edx
mov edx, eax
mov dword [esp + 0x40], 0
add edx, 0x100
adc edi, 0
shrd edx, edi, 9
sar edi, 9
jmp 0x10493747
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
shr eax, 1
cmp eax, 0x32
mov dword [esp + 0x28], 0x32
cmovb eax, dword [esp + 0x28]
cmp ecx, eax
jae 0x1049376a
cmp dword [ebx + 0x14d10], 4
jge 0x10493796
cmp dword [esp + 0x3c], 1
jne 0x1049379e
cmp ecx, 0x32
jae 0x1049379e
cmp ebp, 9
jl 0x10493784
cmp dword [ebx + 0x14d10], 0
jne 0x10493796
cmp byte [ebx + 0x24392], 1
je 0x10493796
cmp byte [ebx + 0x24393], 1
jne 0x1049379e
mov dword [esp + 0x44], 1
xor eax, eax
cmp ebp, 9
cmovl eax, dword [esp + 0xc0]
jmp 0x104937cd
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x5d0d4], 0
je 0x104937c6
xor eax, eax
cmp dword [ebx + 0x14d10], 2
cmovle esi, eax
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x30]
cmp byte [ecx + 0x20], 0
je 0x1049380e
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0xa], 0
mov ecx, dword [esp + 0x20]
je 0x1049380e
mov ecx, dword [ecx + 0x5d088]
cmp ecx, 1
jne 0x104937fe
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 4], 0x10
je 0x1049380e
xor esi, esi
jmp 0x1049380e
cmp ecx, 2
mov dword [esp + 0x28], 0
cmove esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
cmp dword [ecx + 0x10], 0xffffffff
jne 0x10493821
cmp dword [ecx + 0x14], 0x7fffffff
je 0x1049384a
cmp dword [esp + 0x44], 0
jne 0x1049384a
test esi, esi
je 0x10493baf
test eax, eax
jne 0x10493baf
mov esi, dword [esp + 0x20]
cmp ebp, dword [esi + 0x5cd9c]
jg 0x10493baf
jmp 0x1049384e
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x3c], 1
mov ecx, edx
mov eax, edi
jne 0x1049386b
shld eax, ecx, 3
shl ecx, 3
sub ecx, edx
sbb eax, edi
shrd ecx, eax, 3
sar eax, 3
mov edx, dword [esp + 0x30]
cmp eax, dword [edx + 0x14]
jg 0x10493baf
jl 0x10493883
cmp ecx, dword [edx + 0x10]
ja 0x10493baf
movzx eax, byte [ebx + 0x23b6c]
mov dl, byte [ebp + 0x10a22ce8]
movzx ecx, dl
mov dword [esp + 0x68], esi
mov dh, byte [eax + 0x10a225d8]
cmp dl, dh
movzx eax, dh
mov dword [esp + 0x6c], ebx
cmovae ecx, eax
mov byte [esp + 0x70], 0
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0xffffffff
mov byte [esp + 0x80], 0
cmp ecx, 2
jae 0x104938e0
cmp dl, dh
movzx ecx, dl
movzx eax, dh
cmovae ecx, eax
jmp 0x104938e2
mov cl, 2
cmp dword [esp + 0x3c], 1
mov dword [esp + 0x34], ecx
jne 0x10493911
cmp dword [esi + 0x5cbd8], 0
je 0x10493911
mov eax, dword [esp + 0x24]
cmp dword [ebx + 0x243a4], eax
jbe 0x10493911
movzx eax, cl
xor ecx, ecx
cmp ebp, 6
cmovle eax, ecx
mov byte [esp + 0x34], al
cmp dword [esp + 0xc8], 0
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0xcc]
mov edx, dword [eax]
je 0x104939ae
test edx, edx
je 0x104939ae
movzx eax, byte [ebp + 0x10a22b98]
movzx edi, byte [ebp + 0x10a22bb0]
mov dword [esp + 0x28], eax
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x104939ae
mov eax, dword [esp + 0x38]
xor ecx, ecx
add eax, 8
cmp dword [eax], 0
je 0x10493964
inc ecx
add eax, 0xc
cmp ecx, 3
jl 0x10493951
or ecx, 0xffffffff
jmp 0x1049397a
mov esi, dword [esp + 0x38]
lea eax, [ecx + ecx*2]
mov dword [esi + eax*4 + 8], 1
mov esi, dword [esp + 0xcc]
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x38]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x4c]
push edi
push dword [esp + 0x2c]
mov dword [ecx], eax
push dword [eax + 4]
push dword [eax]
push dword [edx + 4]
push dword [edx]
call dword [0x10b4964c]
mov eax, dword [esp + 0x64]
add esp, 0x18
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [ecx], eax
movups xmm0, xmmword [esi]
lea ecx, [ebx + 0xe0]
movups xmmword [ecx + 0x1c], xmm0
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x2c], eax
xor eax, eax
mov dword [esp + 0x38], eax
nop word [eax + eax]
mov cl, byte [eax + 0x10a21c14]
mov byte [esp + 0x14], cl
movzx edi, cl
cmp cl, 0xd
jb 0x104939e7
lea eax, [edi - 0xd]
jmp 0x10493a16
cmp edi, 9
ja case.0x104939f3.3
movzx eax, byte [edi + 0x10493f20]
jmp dword [eax*4 + 0x10493f0c]
xor eax, eax
jmp 0x10493a16
mov eax, 1
jmp 0x10493a16
mov eax, 2
jmp 0x10493a16
mov eax, 3
jmp 0x10493a16
or eax, 0xffffffff
cmp dword [esp + 0x38], 2
mov ch, byte [eax + 0x10a21c1c]
mov edx, dword [esp + 0x60]
movzx eax, ch
mov byte [esp + 0x13], ch
mov eax, dword [edx + eax*4]
cdq
mov esi, eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], esi
ja 0x10493a47
cmp dword [esp + 0x44], 0
jne 0x10493bc8
mov ecx, edi
mov esi, 1
mov edi, dword [esp + 0x20]
shl esi, cl
test dword [edi + ebp*4 + 0x5d0ec], esi
je 0x10493b6c
mov cl, byte [esp + 0x14]
test cl, cl
je 0x10493ae5
cmp byte [edi + 0x5d12c], 0
je 0x10493ae5
cmp byte [ebx + 0x24392], 0
je 0x10493b6c
cmp byte [ebx + 0x24393], 0
je 0x10493b6c
mov edx, dword [edi + 0x5cbf4]
mov ecx, dword [edi + 0x5cbf0]
call fcn.10511e80
mov edx, dword [edi + 0x5cbe4]
mov ecx, dword [edi + 0x5cbe0]
movsd qword [esp + 0x58], xmm0
call fcn.10511e80
mulsd xmm0, qword [0x106b3950]
movsd xmm1, qword [esp + 0x58]
comisd xmm1, xmm0
ja 0x10493ae1
mov al, byte [esp + 0x2f]
cmp al, 1
je 0x10493ae1
cmp al, 2
je 0x10493ae1
cmp dword [ebx + 0x14d10], 3
jle 0x10493b6c
mov cl, byte [esp + 0x14]
mov esi, dword [esp + 0x24]
mov ch, byte [esp + 0x13]
cmp dword [esp + 0x3c], 1
jne 0x10493b21
cmp dword [edi + 0x5d0d4], 0
je 0x10493b21
cmp dword [ebx + 0x14d10], 0
jne 0x10493b13
cmp dword [ebx + 0x243a4], 0
jne 0x10493b13
test cl, cl
jne 0x10493b6c
cmp ebp, 9
jle 0x10493b21
cmp dword [ebx + 0x243a4], 0x32
ja 0x10493b6c
mov edi, dword [esp + 0x28]
movzx eax, ch
mov ecx, dword [esp + 0x64]
push edi
push esi
mov eax, dword [ecx + eax*4]
cdq
push edx
push eax
call fcn.10511b50
mov ecx, dword [esp + 0x30]
shrd eax, edx, 5
sar edx, 5
cmp dword [ecx + 0x14], edx
jl 0x10493b5c
jg 0x10493b50
cmp dword [ecx + 0x10], eax
jb 0x10493b5c
cmp esi, 0x7fffffff
jne 0x10493bd1
test edi, edi
jne 0x10493bd1
cmp dword [esp + 0x40], 0
jne 0x10493b6c
mov dl, byte [esp + 0x14]
cmp dl, 9
jne 0x10493bd5
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
cmp eax, 4
jl 0x104939d0
cmp byte [edi + 7], 0
jne 0x10493ba6
mov eax, dword [esp + 0x54]
push dword [eax + 0x144]
push 0
push dword [eax + 0x100]
call fcn.10513d40
add esp, 0xc
mov al, byte [edi + 5]
mov byte [esi + 0x89], al
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.105116c0
add esp, 0xa0
ret
mov edi, dword [esp + 0x20]
jmp 0x10493aed
mov dl, byte [esp + 0x14]
mov eax, dword [ebx + 0x62c]
mov edi, dword [esp + 0x1c]
lea ecx, [eax + ebp*2]
mov eax, dword [ebx + 0x630]
lea eax, [eax + ecx*2]
mov esi, dword [eax*4 + 0x106341d0]
lea eax, [esp + 0x84]
mov word [edi + 0x14], 0xff00
mov byte [edi + 5], dl
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x84], htons
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x90], htons
mov dword [esp + 0x94], 0xffffffff
mov dword [esp + 0x98], htons
mov dword [esp + 0x9c], 0xffffffff
mov dword [esp + 0xa0], htons
mov byte [esp + 0xa4], 0
mov dword [esp + 0x88], 0
mov byte [esp + 0x70], dl
mov dword [esp + 0x74], 1
mov byte [edi + 0x89], al
lea eax, [ebx + 0xe0]
push eax
push ebx
push ebp
push dword [esp + 0x20]
push dword [esp + 0x60]
call fcn.10494160
movzx eax, byte [edi + 0x89]
push eax
push ebp
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0xa4]
push eax
push ebx
call fcn.10492530
add esp, 0x28
cmp byte [ebx + 0x24392], 0
je 0x10493cd9
lea eax, [esp + 0x68]
push eax
push 0x104932e0
push 1
lea eax, [ebx + 0xe0]
push esi
push eax
call fcn.10106c00
add esp, 0x14
cmp byte [ebx + 0x24393], 0
je 0x10493cfe
lea eax, [esp + 0x68]
push eax
push 0x104932e0
push 2
lea eax, [ebx + 0xe0]
push esi
push eax
call fcn.10106c00
add esp, 0x14
mov dl, byte [esp + 0x14]
xor ecx, ecx
lea eax, [edx - 1]
cmp al, 7
ja 0x10493d29
cmp ebp, 3
jl 0x10493d29
movzx eax, dl
lea ecx, [eax*8]
sub ecx, eax
movsx eax, byte [edi + 0x50]
add ecx, eax
mov ecx, dword [ebx + ecx*4 + 0x5e90]
test dl, dl
jne 0x10493d6a
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x3bb8]
cmp byte [eax + 0x3c], dl
je 0x10493d6a
cmp ebp, 0xff
je 0x10493d6a
cmp byte [ebp + 0x10a22b98], 0x20
ja 0x10493d5d
cmp byte [ebp + 0x10a22bb0], 0x20
ja 0x10493d5d
mov eax, 1
jmp 0x10493d5f
xor eax, eax
test eax, eax
je 0x10493d6a
add ecx, dword [ebx + ebp*8 + 0x5ddc]
add ecx, dword [esp + 0x48]
add ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x90]
add eax, ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x84], eax
imul dword [ebx + 0x31cc]
mov edi, eax
add edi, 0x100
adc edx, 0
shld esi, ecx, 7
shrd edi, edx, 9
shl ecx, 7
sar edx, 9
add edi, ecx
mov dword [esp + 0x94], edi
adc edx, esi
cmp dword [esp + 0x3c], 1
mov dword [esp + 0x98], edx
jne 0x10493e65
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x5d0d4], 0
je 0x10493e65
cmp dword [ecx + 0x5cbd8], 0
mov eax, dword [ebx + 0x243a4]
je 0x10493e24
cmp eax, 0x320
jae 0x10493e65
cmp byte [ebx + 0x24392], 0
jne 0x10493e08
cmp byte [ebx + 0x24393], 0
je 0x10493e65
mov ecx, edx
mov eax, edi
shld ecx, eax, 3
shl eax, 3
sub eax, edi
mov edi, eax
sbb ecx, edx
mov edx, ecx
shrd edi, edx, 3
sar edx, 3
jmp 0x10493e57
test eax, eax
je 0x10493e65
cmp dword [ebx + 0x14d10], 0
jne 0x10493e65
cmp byte [ebx + 0x24392], 0
jne 0x10493e65
cmp byte [ebx + 0x24393], 0
jne 0x10493e65
mov ecx, edx
mov eax, edi
shld ecx, eax, 1
add eax, eax
add edi, eax
adc edx, ecx
shrd edi, edx, 1
sar edx, 1
mov dword [esp + 0x98], edx
mov dword [esp + 0x94], edi
mov ecx, dword [esp + 0x30]
cmp edx, dword [ecx + 0x14]
jg 0x10493b6c
jl 0x10493e7d
cmp edi, dword [ecx + 0x10]
jae 0x10493b6c
movups xmm0, xmmword [esp + 0x84]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dl, byte [esp + 0x14]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esp + 0x94]
movups xmmword [ecx + 0x10], xmm0
movq xmm0, qword [esp + 0xa4]
movq qword [ecx + 0x20], xmm0
mov byte [edi + 4], dl
movzx eax, byte [esi + 0x89]
mov byte [edi + 5], al
movzx eax, byte [esp + 0xa4]
mov word [edi + 7], 0
mov byte [edi + 9], al
mov byte [esi + 6], dl
mov dword [esi + 0xc], 0x80008000
mov dword [esi + 0x10], 0x80008000
cmp byte [esp + 0xa4], 0
jne 0x10493b74
mov eax, dword [esp + 0x54]
push dword [eax + 0x144]
push 0
push dword [eax + 0x100]
call fcn.10513d40
add esp, 0xc
jmp 0x10493b74