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

Disassembly:
sub esp, 0x98
push ebx
mov ebx, dword [esp + 0xa4]
push ebp
push esi
mov esi, dword [esp + 0xa8]
imul eax, ebx, 0x544
push edi
xor edi, edi
mov dword [esp + 0x68], 0
mov ecx, dword [esi + 0x28]
lea ebp, [esi + 0x2c]
mov dword [esp + 0x60], ecx
add ebp, eax
mov dword [esp + 0x44], edi
mov eax, dword [esi]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x24]
push 0x2c
push edi
mov dword [esp + 0x6c], ebp
lea eax, [ecx + eax*4]
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0xabc]
mov ecx, dword [eax + 0x28]
mov eax, 0x24924925
mul ecx
lea eax, [esp + 0x84]
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 3
push eax
mov dword [esp + 0x58], ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov dword [esp + 0x98], 0x7d00
mov byte [esp + 0x7c], 0
test eax, eax
jns 0x102f6a25
neg eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x70], eax
mov dword [ebp], edi
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
test ebx, ebx
jne 0x102f6a5b
cmp ecx, edx
jae 0x102f6a75
movsx eax, word [ecx + 0xc]
mov dword [ecx + 0x18], eax
movsx eax, word [ecx + 0xe]
mov dword [ecx + 0x1c], eax
add ecx, 0x28
cmp ecx, edx
jb 0x102f6a44
jmp 0x102f6a75
cmp ecx, edx
jae 0x102f6a75
nop
movsx eax, word [ecx + 0xe]
mov dword [ecx + 0x18], eax
movsx eax, word [ecx + 0xc]
mov dword [ecx + 0x1c], eax
add ecx, 0x28
cmp ecx, edx
jb 0x102f6a60
mov eax, dword [esp + 0x60]
cmp eax, dword [esp + 0x74]
jae 0x102f6f76
mov esi, dword [eax]
mov ecx, 0x7d00
mov ebx, 0xffff8300
mov dword [esp + 0x34], 0
mov edx, ebx
mov dword [esp + 0x18], ecx
xor ebp, ebp
mov dword [esp + 0x20], edx
mov eax, dword [esi + 0x24]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], ecx
mov al, byte [eax + 3]
test al, al
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
movsx eax, al
jns 0x102f6aea
neg eax
cmp eax, dword [esp + 0x38]
jne 0x102f6b26
mov al, byte [esi + 3]
test al, al
movsx eax, al
jns 0x102f6afc
neg eax
cmp eax, dword [esp + 0x38]
jne 0x102f6b26
mov dword [esp + 0x48], esi
mov esi, dword [esi + 0x24]
mov al, byte [esi + 3]
test al, al
movsx eax, al
jns 0x102f6b15
neg eax
cmp eax, dword [esp + 0x38]
jne 0x102f6b23
cmp esi, dword [esp + 0x48]
jne 0x102f6b06
jmp 0x102f6b26
mov esi, dword [esi + 0x20]
mov dword [esp + 0x48], esi
mov eax, ebp
mov byte [esp + 0x17], 0
test eax, eax
je 0x102f6e2a
mov eax, dword [esi + 0x18]
cmp eax, ecx
cmovl ecx, eax
cmp eax, ebx
mov dword [esp + 0x6c], ecx
cmovg ebx, eax
mov eax, dword [esi + 0x1c]
cmp eax, dword [esp + 0x18]
jge 0x102f6b62
movzx edx, word [esi]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
cmp eax, edx
jle 0x102f6b76
mov edx, eax
movzx eax, word [esi]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], edx
test byte [esi], 3
jne 0x102f6b9f
mov edx, dword [esp + 0x1c]
cmp eax, edx
cmovl edx, eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x10]
cmp eax, edx
cmovg edx, eax
mov eax, edx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
movsx eax, byte [esi + 3]
cmp eax, dword [esp + 0x70]
jne 0x102f6bb3
cmp esi, dword [esp + 0x48]
jne 0x102f6e42
test ebp, ebp
je 0x102f6d98
mov eax, dword [ebp + 0x28]
cmp dword [edi + 0x24], eax
jne 0x102f6d98
mov al, byte [eax + 2]
cmp al, byte [esi + 2]
jne 0x102f6c86
cmp dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x3c]
cmovl ecx, dword [esp + 0x2c]
cmp dword [esp + 0x30], ebx
cmovg ebx, dword [esp + 0x30]
cmp eax, dword [esp + 0x18]
jge 0x102f6bfe
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
movzx eax, ax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
cmp eax, edx
jle 0x102f6c17
mov edx, eax
mov eax, dword [esp + 0x54]
movzx eax, ax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x58], eax
mov edi, dword [esp + 0x10]
cmovl eax, dword [esp + 0x58]
cmp dword [esp + 0x5c], edi
mov dword [esp + 0x1c], eax
lea eax, [ebx + ecx]
cmovg edi, dword [esp + 0x5c]
sar eax, 1
mov word [ebp + 2], ax
mov al, byte [esp + 0x24]
or al, byte [esp + 0x28]
mov dword [esp + 0x10], edi
mov dword [ebp + 0x28], esi
test al, 3
je 0x102f6c63
mov eax, edi
sub eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x4c]
jge 0x102f6c63
or byte [ebp], 1
jmp 0x102f6c67
and byte [ebp], 0xfe
mov edi, dword [esp + 0x18]
mov eax, edx
sub eax, edi
mov word [ebp + 6], di
mov word [ebp + 0xa], ax
mov eax, dword [esp + 0x64]
mov word [ebp + 8], dx
dec dword [eax]
jmp 0x102f6e1e
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x3c]
cdq
mov ecx, eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
cmp ecx, eax
mov ecx, dword [esp + 0x6c]
jle 0x102f6cde
mov edi, dword [esp + 0x2c]
cmp ecx, edi
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
cmovl edi, ecx
cmp ebx, eax
mov dword [ebp + 0x28], esi
mov dword [esp + 0x2c], edi
cmovg eax, ebx
mov dword [esp + 0x30], eax
add eax, edi
sar eax, 1
mov word [ebp + 2], ax
mov eax, dword [esp + 0x64]
dec dword [eax]
jmp 0x102f6e1e
cmp dword [esp + 0x2c], ecx
mov dword [edi + 0x28], esi
cmovl ecx, dword [esp + 0x2c]
cmp dword [esp + 0x30], ebx
cmovg ebx, dword [esp + 0x30]
lea eax, [ebx + ecx]
sar eax, 1
mov word [edi + 2], ax
mov al, byte [esp + 0x24]
or al, byte [esp + 0x28]
test al, 3
je 0x102f6d19
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x4c]
jge 0x102f6d19
or byte [edi], 1
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov word [edi + 6], ax
mov ax, dx
mov word [edi + 8], dx
sub ax, word [edi + 6]
mov word [edi + 0xa], ax
movups xmm0, xmmword [edi]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebx
movups xmmword [ebp], xmm0
mov dword [esp + 0x40], edx
movups xmm0, xmmword [edi + 0x10]
movups xmmword [ebp + 0x10], xmm0
movq xmm0, qword [edi + 0x20]
movq qword [ebp + 0x20], xmm0
mov eax, dword [edi + 0x28]
mov dword [ebp + 0x28], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
movzx edi, ax
mov eax, dword [esp + 0x24]
movzx eax, ax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x50], edi
dec dword [eax]
jmp 0x102f6e1e
lea eax, [ebx + ecx]
mov dword [edi + 0x28], esi
sar eax, 1
mov word [edi + 2], ax
mov eax, ebx
sub eax, ecx
sar eax, 1
mov word [edi + 4], ax
mov al, byte [esp + 0x24]
or al, byte [esp + 0x28]
test al, 3
je 0x102f6dcb
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x4c]
jge 0x102f6dcb
or byte [edi], 1
mov eax, dword [esp + 0x18]
mov ebp, edi
mov word [edi + 6], ax
mov ax, dx
mov word [edi + 8], dx
sub ax, word [edi + 6]
mov word [edi + 0xa], ax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
movzx edi, ax
mov eax, dword [esp + 0x24]
movzx eax, ax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x5c], eax
xor eax, eax
xor edi, edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], edi
cmp esi, dword [esp + 0x48]
jne 0x102f6e46
cmp byte [esp + 0x17], 0
jne 0x102f6f5d
mov byte [esp + 0x17], 1
jmp 0x102f6e46
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x102f6f55
mov al, byte [esi + 3]
test al, al
movsx eax, al
mov edx, eax
jns 0x102f6e5c
neg edx
cmp edx, dword [esp + 0x38]
je 0x102f6e6b
cmp esi, dword [esi + 0x24]
jne 0x102f6f4d
mov ebx, eax
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x7c]
mov dword [esp + 0x78], ebx
push dword [esp + 0x6c]
call fcn.102f54a0
add esp, 0xc
mov dword [esp + 0x68], eax
test eax, eax
jne 0x102f6ff2
mov edi, dword [esp + 0x44]
movups xmm0, xmmword [esp + 0x7c]
movups xmmword [edi], xmm0
movups xmm0, xmmword [esp + 0x8c]
movups xmmword [edi + 0x10], xmm0
movq xmm0, qword [esp + 0x9c]
movq qword [edi + 0x20], xmm0
mov byte [edi + 1], bl
mov dword [edi + 0x24], esi
mov dword [edi + 0x28], esi
test ebp, ebp
je 0x102f6ec8
lea ebp, [edi - 0x2c]
mov edx, dword [esi + 0x1c]
movzx eax, word [esi]
mov ebx, dword [esi + 0x18]
mov ecx, ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], edx
mov edx, eax
mov dword [esp + 0x24], edx
movzx edx, dx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x20]
test al, 3
je 0x102f6f02
mov dword [esp + 0x1c], 0x7d00
mov dword [esp + 0x10], 0xffff8300
jmp 0x102f6f0c
mov eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov eax, 1
mov dword [esp + 0x34], eax
cmp esi, dword [esi + 0x24]
jne 0x102f6f55
mov word [edi + 2], bx
test byte [esi], 3
je 0x102f6f25
or byte [edi], al
movzx eax, word [esi + 0x1c]
mov word [edi + 6], ax
movzx eax, word [esi + 0x1c]
mov word [edi + 8], ax
xor eax, eax
mov word [edi + 0xa], ax
xor edi, edi
mov esi, dword [esi + 0x20]
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], edi
jmp 0x102f6b31
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
mov esi, dword [esi + 0x20]
jmp 0x102f6b31
mov eax, dword [esp + 0x60]
add eax, 4
mov dword [esp + 0x60], eax
cmp eax, dword [esp + 0x74]
jb 0x102f6a83
mov ebp, dword [esp + 0x64]
imul edx, dword [ebp], 0x2c
mov eax, dword [ebp + 8]
add edx, eax
cmp eax, edx
jae 0x102f6fee
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 0x102f6fca
cmp eax, esi
jge 0x102f6fb7
sub esi, eax
sar esi, 1
add word [ecx], si
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 0x1c]
cmp eax, edx
jle 0x102f6fe6
sub eax, edx
sar eax, 1
add word [ecx], ax
jmp 0x102f6fe6
cmp eax, esi
jle 0x102f6fd5
sub eax, esi
sar eax, 1
add word [ecx], ax
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 0x1c]
cmp eax, edx
jge 0x102f6fe6
sub edx, eax
sar edx, 1
add word [ecx], dx
add ecx, 0x2c
sub ebx, 1
jne 0x102f6f96
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret