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

Disassembly:
sub esp, 0xac
push ebx
mov ebx, dword [esp + 0xb8]
push ebp
push esi
push edi
mov edi, dword [esp + 0xc0]
xor esi, esi
imul eax, ebx, 0x544
push 0x2c
push esi
mov ecx, dword [edi + 0x28]
lea ebp, [edi + 0x2c]
mov dword [esp + 0x80], ecx
add ebp, eax
mov dword [esp + 0x44], 0
mov eax, dword [edi]
mov dword [esp + 0x8c], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x68], ebp
lea eax, [ecx + eax*4]
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0xabc]
mov ecx, dword [eax + 0x28]
mov eax, 0x24924925
mul ecx
lea eax, [esp + 0x98]
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 3
push eax
mov dword [esp + 0x80], ecx
call fcn.1010cde0
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov dword [ebp], esi
mov ecx, dword [edi + 0x18]
cdq
xor eax, edx
mov dword [esp + 0xac], 0x7d00
sub eax, edx
mov byte [esp + 0x90], 0
mov edx, dword [edi + 0x1c]
lea ecx, [ecx + ecx*4]
shl ecx, 3
add ecx, edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x80], eax
test ebx, ebx
jne 0x1009660a
cmp edx, ecx
jae 0x10096625
movsx eax, word [edx + 0xc]
mov dword [edx + 0x18], eax
movsx eax, word [edx + 0xe]
mov dword [edx + 0x1c], eax
add edx, 0x28
cmp edx, ecx
jb 0x100965f3
jmp 0x10096625
cmp edx, ecx
jae 0x10096625
nop
movsx eax, word [edx + 0xe]
mov dword [edx + 0x18], eax
movsx eax, word [edx + 0xc]
mov dword [edx + 0x1c], eax
add edx, 0x28
cmp edx, ecx
jb 0x10096610
mov eax, dword [esp + 0x78]
cmp eax, dword [esp + 0x88]
jae 0x10096da1
nop word [eax + eax]
mov ebx, dword [eax]
mov ecx, 0x7d00
mov dword [esp + 0x24], ecx
xor ebp, ebp
mov dword [esp + 0x14], ecx
mov edi, 0xffff8300
mov dword [esp + 0x18], ecx
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x58], ecx
mov cl, byte [eax + 3]
movsx edx, cl
mov eax, edx
mov dword [esp + 0x38], 0
neg eax
mov dword [esp + 0x10], edi
test cl, cl
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
cmovns eax, edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x64], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x5c], edi
cmp eax, dword [esp + 0x6c]
jne 0x100966f3
mov cl, byte [ebx + 3]
movsx edx, cl
mov eax, edx
neg eax
test cl, cl
cmovns eax, edx
cmp eax, dword [esp + 0x6c]
jne 0x100966f3
mov dword [esp + 0x68], ebx
nop dword [eax + eax]
mov ebx, dword [ebx + 0x24]
mov cl, byte [ebx + 3]
movsx edx, cl
mov eax, edx
neg eax
test cl, cl
cmovns eax, edx
cmp eax, dword [esp + 0x6c]
jne 0x100966f0
cmp ebx, dword [esp + 0x68]
jne 0x100966d0
jmp 0x100966f3
mov ebx, dword [ebx + 0x20]
mov dword [esp + 0x68], ebx
mov eax, ebp
mov byte [esp + 0x22], 0
nop
mov edx, edi
test eax, eax
je 0x10096a58
mov edi, dword [ebx + 0x18]
mov ecx, edi
cmp edi, dword [esp + 0x24]
mov eax, dword [ebx + 0x1c]
cmovge ecx, dword [esp + 0x24]
cmp edi, edx
mov dword [esp + 0x24], ecx
cmovle edi, edx
mov dword [esp + 0x34], ecx
cmp eax, dword [esp + 0x14]
jge 0x10096739
movzx ecx, word [ebx]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], ecx
cmp eax, dword [esp + 0x10]
jle 0x1009674a
movzx ecx, word [ebx]
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ecx
test byte [ebx], 3
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
jne 0x10096769
cmp eax, ecx
cmovl ecx, eax
cmp eax, edx
mov dword [esp + 0x18], ecx
cmovg edx, eax
mov dword [esp + 0x30], edx
movsx eax, byte [ebx + 3]
cmp eax, dword [esp + 0x80]
jne 0x10096780
cmp ebx, dword [esp + 0x68]
jne 0x10096d79
test ebp, ebp
je 0x100969bb
mov eax, dword [ebp + 0x28]
cmp dword [esi + 0x24], eax
jne 0x100969bb
mov al, byte [eax + 2]
cmp al, byte [ebx + 2]
jne 0x10096872
mov eax, dword [esp + 0x34]
mov ecx, eax
cmp dword [esp + 0x44], eax
mov eax, dword [esp + 0x4c]
cmovl ecx, dword [esp + 0x44]
cmp dword [esp + 0x48], edi
mov dword [esp + 0x24], ecx
cmovg edi, dword [esp + 0x48]
cmp eax, dword [esp + 0x14]
jge 0x100967d5
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x64]
movzx eax, ax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x10]
jle 0x100967ee
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
movzx eax, ax
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x18]
lea eax, [edi + ecx]
cmp dword [esp + 0x58], esi
mov dword [ebp + 0x28], ebx
cmovl esi, dword [esp + 0x58]
cmp dword [esp + 0x5c], edx
mov dword [esp + 0x18], esi
cmovg edx, dword [esp + 0x5c]
sar eax, 1
mov word [ebp + 2], ax
mov eax, edi
sub eax, ecx
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x28]
or cl, byte [esp + 0x2c]
sar eax, 1
mov word [ebp + 4], ax
test cl, 3
je 0x1009683f
mov eax, edx
sub eax, esi
cmp eax, dword [esp + 0x74]
jge 0x1009683f
or byte [ebp], 1
jmp 0x10096843
and byte [ebp], 0xfe
mov eax, dword [esp + 0x14]
xor edx, edx
movzx ecx, ax
mov eax, dword [esp + 0x10]
movzx eax, ax
mov word [ebp + 8], ax
sub eax, ecx
mov word [ebp + 0xa], ax
mov eax, dword [esp + 0x60]
mov word [ebp + 6], cx
mov dword [esp + 0x38], edx
dec dword [eax]
xor esi, esi
jmp 0x10096a5c
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x4c]
cdq
mov ecx, eax
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x14]
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
cmp ecx, eax
jle 0x100968dd
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x44]
cmp ecx, esi
mov edx, dword [esp + 0x48]
cmovl esi, ecx
mov dword [ebp + 0x28], ebx
cmp edi, edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x24], ecx
cmovg edx, edi
mov dword [esp + 0x48], edx
lea eax, [edx + esi]
sar eax, 1
mov word [ebp + 2], ax
mov eax, edx
sub eax, esi
xor edx, edx
sar eax, 1
mov word [ebp + 4], ax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x38], edx
dec dword [eax]
xor esi, esi
jmp 0x10096a5c
mov eax, dword [esp + 0x34]
mov ecx, eax
cmp dword [esp + 0x44], eax
mov edx, dword [esp + 0x30]
cmovl ecx, dword [esp + 0x44]
cmp dword [esp + 0x48], edi
mov dword [esp + 0x24], ecx
cmovg edi, dword [esp + 0x48]
mov dword [esi + 0x28], ebx
lea eax, [edi + ecx]
sar eax, 1
mov word [esi + 2], ax
mov eax, edi
sub eax, ecx
mov ecx, dword [esp + 0x28]
or cl, byte [esp + 0x2c]
sar eax, 1
mov word [esi + 4], ax
test cl, 3
je 0x1009692f
mov eax, edx
sub eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x74]
jge 0x1009692f
or byte [esi], 1
mov eax, dword [esp + 0x14]
movzx ecx, ax
mov eax, dword [esp + 0x10]
movzx eax, ax
mov word [esi + 8], ax
sub eax, ecx
mov word [esi + 0xa], ax
mov word [esi + 6], cx
movups xmm0, xmmword [esi]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x5c], edx
xor edx, edx
movups xmmword [ebp], xmm0
mov dword [esp + 0x44], ecx
movups xmm0, xmmword [esi + 0x10]
mov dword [esp + 0x48], edi
mov dword [esp + 0x38], edx
movups xmmword [ebp + 0x10], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [ebp + 0x20], xmm0
mov eax, dword [esi + 0x28]
mov dword [ebp + 0x28], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x2c]
movzx esi, ax
mov eax, dword [esp + 0x28]
movzx eax, ax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x64], esi
dec dword [eax]
xor esi, esi
jmp 0x10096a5c
mov ebp, dword [esp + 0x34]
mov dword [esi + 0x28], ebx
lea eax, [edi + ebp]
sar eax, 1
mov word [esi + 2], ax
mov eax, edi
sub eax, ebp
sar eax, 1
mov word [esi + 4], ax
mov al, byte [esp + 0x28]
or al, byte [esp + 0x2c]
test al, 3
je 0x100969ee
mov eax, edx
sub eax, ecx
cmp eax, dword [esp + 0x74]
jge 0x100969ee
or byte [esi], 1
mov eax, dword [esp + 0x14]
mov ebp, esi
movzx ecx, ax
mov eax, dword [esp + 0x10]
mov word [esi + 6], cx
movzx eax, ax
mov word [esi + 8], ax
sub eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x2c]
mov word [esi + 0xa], ax
mov eax, dword [esp + 0x34]
movzx esi, cx
mov ecx, dword [esp + 0x28]
movzx ecx, cx
mov dword [esp + 0x5c], edx
xor edx, edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], esi
xor esi, esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], edx
jmp 0x10096a5c
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x64]
movzx eax, ax
mov dword [esp + 0x70], eax
movzx eax, cx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x28]
movzx eax, ax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
movzx eax, ax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x34], eax
cmp ebx, dword [esp + 0x68]
jne 0x10096b67
cmp byte [esp + 0x22], 0
jne 0x10096d85
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
movzx eax, cx
mov dword [esp + 0x1c], eax
movzx eax, cx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], eax
movzx eax, cx
mov dword [esp + 0x40], eax
movzx eax, cx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x50], eax
movzx eax, cx
mov dword [esp + 0x8c], eax
movzx eax, cx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x64], eax
movzx eax, cx
mov dword [esp + 0x70], eax
movzx eax, cx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x5c], eax
mov byte [esp + 0x22], 1
test edx, edx
jne 0x10096d79
mov dl, byte [ebx + 3]
movsx ecx, dl
mov eax, ecx
mov byte [esp + 0x23], dl
neg eax
test dl, dl
cmovns eax, ecx
cmp eax, dword [esp + 0x6c]
je 0x10096b89
cmp ebx, dword [ebx + 0x24]
jne 0x10096d79
mov edi, dword [esp + 0x60]
mov eax, dword [edi]
cmp eax, 0x3e8
jg 0x10096e04
mov dword [esp + 0x80], ecx
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x54], ecx
cmp eax, 0x12
jge 0x10096bcd
cmp dword [edi + 8], ecx
jne 0x10096cae
lea eax, [edi + 0x1c]
mov dword [edi + 4], 0x12
mov dword [edi + 8], eax
jmp 0x10096cae
mov ecx, dword [edi + 4]
cmp eax, ecx
jl 0x10096cac
cmp ecx, 0x2e8ba2e
jl 0x10096bf2
mov ecx, 0x40
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x54], ecx
jmp 0x10096cb9
mov eax, ecx
sar eax, 2
add eax, 4
add eax, ecx
mov dword [esp + 0x34], eax
cmp eax, ecx
jl 0x10096c0b
cmp eax, 0x2e8ba2e
jle 0x10096c14
mov eax, 0x2e8ba2e
mov dword [esp + 0x34], eax
lea edx, [edi + 0x1c]
mov dword [esp + 0x7c], edx
mov edx, dword [edi + 8]
cmp edx, dword [esp + 0x7c]
jne 0x10096c73
lea ecx, [esp + 0x54]
push ecx
push 0
push eax
push 0
push 0x2c
push dword [esp + 0x98]
call fcn.1008e8e0
mov ecx, dword [esp + 0x6c]
add esp, 0x18
mov dword [edi + 8], eax
mov dword [esp + 0x3c], ecx
test ecx, ecx
jne 0x10096e3f
lea esi, [edi + 0x1c]
mov ecx, 0xc6
mov edi, eax
mov eax, dword [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x3c], ecx
mov dword [edi + 4], eax
jmp 0x10096cae
lea edi, [esp + 0x54]
push edi
push edx
push eax
push ecx
push 0x2c
push dword [esp + 0x98]
call fcn.1008e8e0
mov edi, dword [esp + 0x78]
add esp, 0x18
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x3c], ecx
mov dword [edi + 8], eax
test ecx, ecx
jne 0x10096e3f
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
jmp 0x10096cae
mov ecx, esi
mov eax, dword [edi]
imul esi, eax, 0x2c
add esi, dword [edi + 8]
inc eax
mov dword [edi], eax
test ecx, ecx
jne 0x10096e3f
mov al, byte [esp + 0x23]
movups xmm0, xmmword [esp + 0x90]
movups xmmword [esi], xmm0
movups xmm0, xmmword [esp + 0xa0]
movups xmmword [esi + 0x10], xmm0
movq xmm0, qword [esp + 0xb0]
movq qword [esi + 0x20], xmm0
mov byte [esi + 1], al
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
test ebp, ebp
je 0x10096cfa
lea ebp, [esi - 0x2c]
movzx eax, word [ebx]
mov ecx, dword [ebx + 0x1c]
mov edx, eax
mov edi, dword [ebx + 0x18]
mov dword [esp + 0x28], edx
movzx edx, dx
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], edx
test al, 3
je 0x10096d32
mov dword [esp + 0x18], 0x7d00
mov dword [esp + 0x30], 0xffff8300
jmp 0x10096d3c
mov eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
mov eax, 1
mov dword [esp + 0x38], eax
cmp ebx, dword [ebx + 0x24]
jne 0x10096d7d
mov word [esi + 2], di
test byte [ebx], 3
je 0x10096d55
or byte [esi], al
movzx eax, word [ebx + 0x1c]
mov word [esi + 6], ax
movzx eax, word [ebx + 0x1c]
mov word [esi + 8], ax
xor eax, eax
mov word [esi + 0xa], ax
xor esi, esi
mov ebx, dword [ebx + 0x20]
mov dword [esp + 0x38], eax
jmp 0x10096700
mov eax, dword [esp + 0x38]
mov ebx, dword [ebx + 0x20]
jmp 0x10096700
mov eax, dword [esp + 0x78]
add eax, 4
mov dword [esp + 0x78], eax
cmp eax, dword [esp + 0x88]
jb 0x10096640
mov ebp, dword [esp + 0x60]
mov eax, dword [ebp + 8]
test eax, eax
je 0x10096e3b
imul edx, dword [ebp], 0x2c
add edx, eax
cmp eax, edx
jae 0x10096e3b
sub edx, eax
lea ecx, [eax + 0xa]
dec edx
mov eax, 0xba2e8ba3
mul edx
mov ebx, edx
shr ebx, 5
inc ebx
nop dword [eax]
mov eax, dword [ecx + 0x1a]
mov edi, dword [ecx + 0x1e]
mov esi, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
mov edx, dword [edi + 0x1c]
mov eax, dword [eax + 0x1c]
cmp esi, edx
jge 0x10096e17
cmp eax, esi
jge 0x10096df1
sub esi, eax
sar esi, 1
add word [ecx], si
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 0x1c]
cmp eax, edx
jle 0x10096e33
sub eax, edx
sar eax, 1
add word [ecx], ax
jmp 0x10096e33
mov dword [edi], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret
cmp eax, esi
jle 0x10096e22
sub eax, esi
sar eax, 1
add word [ecx], ax
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 0x1c]
cmp eax, edx
jge 0x10096e33
sub edx, eax
sar edx, 1
add word [ecx], dx
add ecx, 0x2c
sub ebx, 1
jne 0x10096dd0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0xac
ret