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

Disassembly:
sub esp, 0xac
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xc0]
xor esi, esi
mov ebx, dword [esp + 0xc4]
imul ebp, ebx, 0x544
push 0x2c
mov eax, dword [edi]
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x8c], eax
mov eax, dword [edi + 0x24]
add ebp, edi
mov dword [esp + 0x84], ecx
push esi
mov dword [esp + 0x3c], 0
lea eax, [ecx + eax*4]
mov dword [esp + 0x94], 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 + 0x78], ecx
call fcn.100d26e0
mov eax, dword [ebp + 0x44]
add esp, 0xc
mov dword [ebp + 0x2c], 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 + 0x64], eax
mov dword [esp + 0x84], eax
test ebx, ebx
jne 0x10067707
cmp edx, ecx
jae 0x10067725
nop dword [eax]
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 0x100676f0
jmp 0x10067725
cmp edx, ecx
jae 0x10067725
nop dword [eax + eax]
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 0x10067710
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x8c]
jae 0x10067ef4
nop dword [eax]
mov ebx, dword [eax]
xor edi, edi
mov dword [esp + 0x50], 0
mov dword [esp + 0x30], 0x7d00
mov dword [esp + 0x40], 0xffff8300
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x14], 0x7d00
mov dword [esp + 0x10], 0xffff8300
mov dword [esp + 0x48], 0
mov cl, byte [eax + 3]
movsx edx, cl
mov eax, edx
mov dword [esp + 0x44], 0
neg eax
mov dword [esp + 0x20], 0x7d00
test cl, cl
mov dword [esp + 0x18], 0xffff8300
mov dword [esp + 0x3c], edi
cmovns eax, edx
mov dword [esp + 0x54], 0x7d00
mov dword [esp + 0x38], 0xffff8300
mov dword [esp + 0x60], 0x7d00
mov dword [esp + 0x5c], 0xffff8300
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], 0x7d00
mov dword [esp + 0x7c], 0xffff8300
cmp eax, dword [esp + 0x64]
jne 0x10067823
mov cl, byte [ebx + 3]
movsx edx, cl
mov eax, edx
neg eax
test cl, cl
cmovns eax, edx
cmp eax, dword [esp + 0x64]
jne 0x10067823
mov dword [esp + 0x68], ebx
nop dword [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 + 0x64]
jne 0x10067820
cmp ebx, dword [esp + 0x68]
jne 0x10067800
jmp 0x10067823
mov ebx, dword [ebx + 0x20]
mov edx, dword [esp + 0x40]
mov eax, edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x1e], 0
mov ecx, dword [esp + 0x48]
movzx ecx, cx
mov dword [esp + 0x28], ecx
test eax, eax
je 0x10067c96
mov ecx, dword [ebx + 0x18]
mov edi, ecx
cmp ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
cmovge edi, dword [esp + 0x30]
cmp ecx, edx
movzx eax, ax
cmovle ecx, edx
mov dword [esp + 0x30], edi
mov edx, ecx
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x14]
cmp dword [ebx + 0x1c], edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], edx
movzx edx, word [ebx]
mov ecx, edx
cmovge ecx, eax
movzx eax, cx
mov ecx, edx
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x1c]
cmp eax, edi
cmovge eax, edi
mov edi, dword [ebx + 0x1c]
cmp edi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
movzx eax, ax
cmovle ecx, eax
movzx eax, cx
mov ecx, edi
cmovle ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ecx
test dl, 3
jne 0x100678e1
mov edx, dword [ebx + 0x1c]
mov ecx, edx
cmp edx, dword [esp + 0x20]
cmovge ecx, dword [esp + 0x20]
mov dword [esp + 0x20], ecx
cmp edx, dword [esp + 0x18]
jle 0x100678e1
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
movsx eax, byte [ebx + 3]
mov edx, dword [esp + 0x24]
cmp eax, dword [esp + 0x84]
jne 0x1006790e
mov eax, dword [esp + 0x28]
movzx ecx, ax
movzx eax, dx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
cmp ebx, dword [esp + 0x68]
jne 0x10067c8e
test edi, edi
je 0x10067bc3
mov eax, dword [edi + 0x28]
cmp dword [esi + 0x24], eax
jne 0x10067bc3
mov al, byte [eax + 2]
cmp al, byte [ebx + 2]
jne 0x10067a55
mov esi, dword [esp + 0x54]
mov ecx, esi
cmp esi, dword [esp + 0x2c]
mov esi, dword [esp + 0x38]
cmovge ecx, dword [esp + 0x2c]
cmp esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x30], ecx
mov ecx, esi
cmovle ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x60], esi
mov dword [esp + 0x40], ecx
movzx ecx, ax
movzx eax, dx
cmovge ecx, eax
mov dword [edi + 0x28], ebx
movzx edx, cx
mov eax, edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x60]
cmovge eax, esi
mov esi, eax
mov eax, dword [esp + 0x74]
movzx ecx, ax
mov eax, dword [esp + 0x28]
movzx eax, ax
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x5c], esi
cmovle ecx, eax
movzx eax, cx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
cmovle eax, esi
mov esi, eax
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x78]
mov ecx, esi
cmp esi, dword [esp + 0x20]
mov esi, dword [esp + 0x7c]
mov eax, esi
cmovge ecx, dword [esp + 0x20]
cmp esi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
cmovle eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x30]
sar eax, 1
mov word [edi + 2], ax
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x30]
sar eax, 1
mov word [edi + 4], ax
mov al, byte [esp + 0x2c]
or al, dl
mov dword [esp + 0x20], ecx
test al, 3
je 0x10067a10
mov eax, dword [esp + 0x18]
sub eax, ecx
cmp eax, dword [esp + 0x6c]
jge 0x10067a10
or byte [edi], 1
jmp 0x10067a13
and byte [edi], 0xfe
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
movzx ecx, ax
movzx eax, si
mov word [edi + 8], ax
sub eax, ecx
mov word [edi + 0xa], ax
mov eax, dword [esp + 0x4c]
movzx eax, ax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
mov word [edi + 6], cx
dec dword [ebp + 0x2c]
movzx ecx, ax
xor eax, eax
mov dword [esp + 0x44], ecx
xor esi, esi
mov dword [esp + 0x50], eax
jmp 0x10067c96
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x60]
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 0x10067aca
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x54]
cmp ecx, esi
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
cmovl esi, ecx
cmp edx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x54], esi
cmovg eax, edx
mov dword [edi + 0x28], ebx
mov dword [esp + 0x38], eax
add eax, esi
sar eax, 1
mov word [edi + 2], ax
mov eax, dword [esp + 0x38]
sub eax, esi
sar eax, 1
mov word [edi + 4], ax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
movzx ecx, ax
mov eax, dword [esp + 0x14]
jmp 0x10067ba0
mov edx, dword [esp + 0x54]
mov ecx, edx
cmp edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
cmovge ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
cmp edx, eax
mov dword [esp + 0x30], ecx
cmovle edx, eax
mov dword [esi + 0x28], ebx
lea eax, [edx + ecx]
sar eax, 1
mov word [esi + 2], ax
mov eax, edx
sub eax, ecx
sar eax, 1
mov word [esi + 4], ax
mov al, byte [esp + 0x28]
or al, byte [esp + 0x24]
test al, 3
je 0x10067b1d
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x6c]
jge 0x10067b1d
or byte [esi], 1
mov eax, dword [esp + 0x14]
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 word [esi + 0xa], ax
movups xmm0, xmmword [esi]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], ecx
movups xmmword [edi], xmm0
mov dword [esp + 0x10], ecx
movups xmm0, xmmword [esi + 0x10]
mov dword [esp + 0x38], edx
movups xmmword [edi + 0x10], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [edi + 0x20], xmm0
mov eax, dword [esi + 0x28]
mov esi, dword [esp + 0x24]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x30]
movzx esi, si
mov dword [esp + 0x70], esi
mov esi, dword [esp + 0x28]
movzx edi, si
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov dword [esp + 0x7c], edi
movzx ecx, si
dec dword [ebp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
movzx eax, ax
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x44], ecx
xor esi, esi
mov dword [esp + 0x50], eax
jmp 0x10067c96
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x28], ebx
lea eax, [ecx + edx]
sar eax, 1
mov word [esi + 2], ax
mov eax, ecx
sub eax, edx
sar eax, 1
mov word [esi + 4], ax
mov al, byte [esp + 0x28]
or al, byte [esp + 0x24]
test al, 3
je 0x10067bfe
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x6c]
jge 0x10067bfe
or byte [esi], 1
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
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 eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
movzx edi, di
mov dword [esp + 0x54], edx
mov dword [esp + 0x30], edx
mov edx, eax
mov eax, dword [esp + 0x28]
movzx eax, ax
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
movzx edi, di
movzx eax, ax
mov word [esi + 6], cx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x60], esi
mov dword [esp + 0x14], esi
xor esi, esi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x50], eax
jmp 0x10067c96
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x50]
cmp ebx, dword [esp + 0x68]
jne 0x10067cac
cmp byte [esp + 0x1e], 0
jne 0x10067ed6
mov byte [esp + 0x1e], 1
test eax, eax
jne 0x10067ece
mov al, byte [ebx + 3]
mov byte [esp + 0x1f], al
movsx ecx, al
mov eax, ecx
neg eax
cmp byte [esp + 0x1f], 0
cmovge eax, ecx
cmp eax, dword [esp + 0x64]
je 0x10067cd9
cmp ebx, dword [ebx + 0x24]
jne 0x10067eca
mov eax, dword [ebp + 0x2c]
cmp eax, 0x3e8
jg 0x10067f54
mov dword [esp + 0x84], ecx
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x58], ecx
cmp eax, 0x12
jge 0x10067d1a
cmp dword [ebp + 0x34], ecx
jne 0x10067dec
lea eax, [ebp + 0x48]
mov dword [ebp + 0x30], 0x12
mov dword [ebp + 0x34], eax
jmp 0x10067dec
mov ecx, dword [ebp + 0x30]
cmp eax, ecx
jl 0x10067dea
cmp ecx, 0x2e8ba2e
jl 0x10067d3f
mov ecx, 0x40
mov dword [esp + 0x34], ecx
mov dword [esp + 0x58], ecx
jmp 0x10067df9
mov eax, ecx
sar eax, 2
add eax, 4
add eax, ecx
mov dword [esp + 0x2c], eax
cmp eax, ecx
jl 0x10067d58
cmp eax, 0x2e8ba2e
jle 0x10067d61
mov eax, 0x2e8ba2e
mov dword [esp + 0x2c], eax
mov edx, dword [ebp + 0x34]
lea edi, [ebp + 0x48]
cmp edx, edi
jne 0x10067db5
lea ecx, [esp + 0x58]
push ecx
push 0
push eax
push 0
push 0x2c
push dword [esp + 0x9c]
call fcn.1005fa30
mov ecx, dword [esp + 0x70]
add esp, 0x18
mov dword [ebp + 0x34], eax
mov dword [esp + 0x34], ecx
test ecx, ecx
jne 0x10067f90
mov esi, edi
mov ecx, 0xc6
mov edi, eax
mov eax, dword [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x34], ecx
mov dword [ebp + 0x30], eax
jmp 0x10067dec
lea edi, [esp + 0x58]
push edi
push edx
push eax
push ecx
push 0x2c
push dword [esp + 0x9c]
call fcn.1005fa30
mov ecx, dword [esp + 0x70]
add esp, 0x18
mov dword [ebp + 0x34], eax
mov dword [esp + 0x34], ecx
test ecx, ecx
jne 0x10067f90
mov eax, dword [esp + 0x2c]
mov dword [ebp + 0x30], eax
jmp 0x10067dec
mov ecx, esi
mov eax, dword [ebp + 0x2c]
imul esi, eax, 0x2c
add esi, dword [ebp + 0x34]
inc eax
mov dword [ebp + 0x2c], eax
test ecx, ecx
jne 0x10067f90
movups xmm0, xmmword [esp + 0x90]
mov ecx, dword [esp + 0x3c]
lea edi, [esi - 0x2c]
mov al, byte [esp + 0x1f]
test ecx, ecx
movups xmmword [esi], xmm0
cmove edi, ecx
movups xmm0, xmmword [esp + 0xa0]
mov dword [esp + 0x3c], edi
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
movzx eax, word [ebx]
mov ecx, dword [ebx + 0x1c]
mov edi, eax
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x44], edi
movzx edi, di
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x48], edi
test al, 3
je 0x10067e7b
mov dword [esp + 0x20], 0x7d00
mov dword [esp + 0x18], 0xffff8300
jmp 0x10067e85
mov eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov eax, 1
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
cmp ebx, dword [ebx + 0x24]
jne 0x10067ece
mov word [esi + 2], dx
test byte [ebx], 3
je 0x10067ea2
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 + 0x50], eax
mov dword [esp + 0x3c], edi
jmp 0x10067832
mov eax, dword [esp + 0x50]
mov ebx, dword [ebx + 0x20]
jmp 0x10067832
mov eax, dword [esp + 0x80]
add eax, 4
mov dword [esp + 0x80], eax
cmp eax, dword [esp + 0x8c]
jb 0x10067740
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x10067f8c
imul edx, dword [ebp + 0x2c], 0x2c
add edx, eax
cmp eax, edx
jae 0x10067f8c
sub edx, eax
lea ecx, [eax + 0xa]
dec edx
mov eax, 0xba2e8ba3
mul edx
mov ebx, edx
shr ebx, 5
inc ebx
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 0x10067f68
cmp eax, esi
jge 0x10067f41
sub esi, eax
sar esi, 1
add word [ecx], si
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 0x1c]
cmp eax, edx
jle 0x10067f84
sub eax, edx
sar eax, 1
add word [ecx], ax
jmp 0x10067f84
pop edi
pop esi
mov dword [ebp + 0x2c], 0
xor eax, eax
pop ebp
pop ebx
add esp, 0xac
ret
cmp eax, esi
jle 0x10067f73
sub eax, esi
sar eax, 1
add word [ecx], ax
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 0x1c]
cmp eax, edx
jge 0x10067f84
sub edx, eax
sar edx, 1
add word [ecx], dx
add ecx, 0x2c
sub ebx, 1
jne 0x10067f20
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0xac
ret