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

Disassembly:
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x3c], 0
mov ebx, edx
xor esi, esi
imul eax, ebx, 0x544
push 0x2c
mov ecx, dword [edi + 0x28]
lea ebp, [edi + 0x2c]
mov dword [esp + 0x78], ecx
push esi
add ebp, eax
mov eax, dword [edi]
mov dword [esp + 0x88], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x64], ebp
lea eax, [ecx + eax*4]
mov dword [esp + 0x8c], eax
mov eax, dword [edi + 0xabc]
mov ecx, dword [eax + 0x28]
mov eax, 0x24924925
mul ecx
lea eax, [esp + 0x94]
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 3
push eax
mov dword [esp + 0x7c], ecx
call fcn.1017ea60
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov dword [ebp], esi
mov ecx, dword [edi + 0x18]
cdq
xor eax, edx
mov dword [esp + 0xa8], 0x7d00
sub eax, edx
mov byte [esp + 0x8c], 0
mov edx, dword [edi + 0x1c]
lea ecx, [ecx + ecx*4]
shl ecx, 3
add ecx, edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x7c], eax
test ebx, ebx
jne 0x100357b7
cmp edx, ecx
jae 0x100357d5
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 0x100357a0
jmp 0x100357d5
cmp edx, ecx
jae 0x100357d5
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 0x100357c0
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x84]
jae 0x10035f2e
nop word [eax + eax]
mov ebx, dword [eax]
mov ecx, 0x7d00
mov dword [esp + 0x2c], 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 + 0x54], ecx
mov cl, byte [eax + 3]
movsx edx, cl
mov eax, edx
mov dword [esp + 0x1c], 0
neg eax
mov dword [esp + 0x10], edi
test cl, cl
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
cmovns eax, edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x58], edi
cmp eax, dword [esp + 0x68]
jne 0x100358a3
mov cl, byte [ebx + 3]
movsx edx, cl
mov eax, edx
neg eax
test cl, cl
cmovns eax, edx
cmp eax, dword [esp + 0x68]
jne 0x100358a3
mov dword [esp + 0x64], 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 + 0x68]
jne 0x100358a0
cmp ebx, dword [esp + 0x64]
jne 0x10035880
jmp 0x100358a3
mov ebx, dword [ebx + 0x20]
mov dword [esp + 0x64], ebx
mov eax, ebp
mov byte [esp + 0x2a], 0
nop
mov edx, edi
test eax, eax
je 0x10035bff
mov edi, dword [ebx + 0x18]
mov ecx, edi
cmp edi, dword [esp + 0x2c]
mov eax, dword [ebx + 0x1c]
cmovge ecx, dword [esp + 0x2c]
cmp edi, edx
mov dword [esp + 0x2c], ecx
cmovle edi, edx
mov dword [esp + 0x20], ecx
cmp eax, dword [esp + 0x14]
jge 0x100358e9
movzx ecx, word [ebx]
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], ecx
cmp eax, dword [esp + 0x10]
jle 0x100358fa
movzx ecx, word [ebx]
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], ecx
test byte [ebx], 3
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
jne 0x10035919
cmp eax, ecx
cmovl ecx, eax
cmp eax, edx
mov dword [esp + 0x18], ecx
cmovg edx, eax
mov dword [esp + 0x38], edx
movsx eax, byte [ebx + 3]
cmp eax, dword [esp + 0x7c]
jne 0x1003592d
cmp ebx, dword [esp + 0x64]
jne 0x10035f06
test ebp, ebp
je 0x10035b62
mov eax, dword [ebp + 0x28]
cmp dword [esi + 0x24], eax
jne 0x10035b62
mov al, byte [eax + 2]
cmp al, byte [ebx + 2]
jne 0x10035a1f
mov eax, dword [esp + 0x20]
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 + 0x2c], ecx
cmovg edi, dword [esp + 0x48]
cmp eax, dword [esp + 0x14]
jge 0x10035982
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
movzx eax, ax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x10]
jle 0x1003599b
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
movzx eax, ax
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0x18]
lea eax, [edi + ecx]
cmp dword [esp + 0x54], esi
mov dword [ebp + 0x28], ebx
cmovl esi, dword [esp + 0x54]
cmp dword [esp + 0x58], edx
mov dword [esp + 0x18], esi
cmovg edx, dword [esp + 0x58]
sar eax, 1
mov word [ebp + 2], ax
mov eax, edi
sub eax, ecx
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x30]
or cl, byte [esp + 0x34]
sar eax, 1
mov word [ebp + 4], ax
test cl, 3
je 0x100359ec
mov eax, edx
sub eax, esi
cmp eax, dword [esp + 0x70]
jge 0x100359ec
or byte [ebp], 1
jmp 0x100359f0
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 + 0x5c]
mov word [ebp + 6], cx
mov dword [esp + 0x1c], edx
dec dword [eax]
xor esi, esi
jmp 0x10035c03
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 0x10035a8a
mov ecx, dword [esp + 0x20]
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 + 0x2c], 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 + 0x5c]
mov dword [esp + 0x1c], edx
dec dword [eax]
xor esi, esi
jmp 0x10035c03
mov eax, dword [esp + 0x20]
mov ecx, eax
cmp dword [esp + 0x44], eax
mov edx, dword [esp + 0x38]
cmovl ecx, dword [esp + 0x44]
cmp dword [esp + 0x48], edi
mov dword [esp + 0x2c], 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 + 0x30]
or cl, byte [esp + 0x34]
sar eax, 1
mov word [esi + 4], ax
test cl, 3
je 0x10035adc
mov eax, edx
sub eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x70]
jge 0x10035adc
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
vmovdqu ymm0, ymmword [esi]
mov ecx, dword [esp + 0x2c]
vmovdqu ymmword [ebp], ymm0
vmovq xmm0, qword [esi + 0x20]
vmovq 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 + 0x34]
movzx esi, ax
mov eax, dword [esp + 0x30]
movzx eax, ax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x58], edx
xor edx, edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x44], ecx
dec dword [eax]
xor esi, esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x1c], edx
jmp 0x10035c03
mov ebp, dword [esp + 0x20]
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 + 0x30]
or al, byte [esp + 0x34]
test al, 3
je 0x10035b95
mov eax, edx
sub eax, ecx
cmp eax, dword [esp + 0x70]
jge 0x10035b95
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 + 0x34]
mov word [esi + 0xa], ax
mov eax, dword [esp + 0x20]
movzx esi, cx
mov ecx, dword [esp + 0x30]
movzx ecx, cx
mov dword [esp + 0x58], edx
xor edx, edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], esi
xor esi, esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], edx
jmp 0x10035c03
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x60]
movzx eax, ax
mov dword [esp + 0x6c], eax
movzx eax, cx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x30]
movzx eax, ax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x34]
movzx eax, ax
mov dword [esp + 0x78], edx
mov dword [esp + 0x20], eax
cmp ebx, dword [esp + 0x64]
jne 0x10035d0e
cmp byte [esp + 0x2a], 0
jne 0x10035f12
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], eax
movzx eax, cx
mov dword [esp + 0x24], eax
movzx eax, cx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x34], eax
movzx eax, cx
mov dword [esp + 0x40], eax
movzx eax, cx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], 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 + 0x88], eax
movzx eax, cx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x60], eax
movzx eax, cx
mov dword [esp + 0x6c], eax
movzx eax, cx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x58], eax
mov byte [esp + 0x2a], 1
test edx, edx
jne 0x10035f06
mov dl, byte [ebx + 3]
movsx ecx, dl
mov eax, ecx
mov byte [esp + 0x2b], dl
neg eax
test dl, dl
cmovns eax, ecx
cmp eax, dword [esp + 0x68]
je 0x10035d30
cmp ebx, dword [ebx + 0x24]
jne 0x10035f06
mov edi, dword [esp + 0x5c]
xor esi, esi
mov dword [esp + 0x7c], ecx
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x20], ecx
mov eax, dword [edi]
cmp eax, 0x12
jge 0x10035d66
cmp dword [edi + 8], ecx
jne 0x10035e45
lea eax, [edi + 0x1c]
mov dword [edi + 4], 0x12
mov dword [edi + 8], eax
jmp 0x10035e45
mov ecx, dword [edi + 4]
cmp eax, ecx
jl 0x10035e43
cmp ecx, 0x2e8ba2e
jl 0x10035d87
mov ecx, 0x40
mov dword [esp + 0x3c], ecx
jmp 0x10035e50
mov eax, ecx
sar eax, 2
add eax, 4
add eax, ecx
mov dword [esp + 0x1c], eax
cmp eax, ecx
jl 0x10035da0
cmp eax, 0x2e8ba2e
jle 0x10035da9
mov eax, 0x2e8ba2e
mov dword [esp + 0x1c], eax
lea edx, [edi + 0x1c]
mov dword [esp + 0x78], edx
mov edx, dword [edi + 8]
cmp edx, dword [esp + 0x78]
jne 0x10035e07
lea ecx, [esp + 0x20]
mov edx, 0x2c
push ecx
mov ecx, dword [esp + 0x84]
push 0
push eax
push 0
vzeroupper
call fcn.1003ddd0
mov ecx, dword [esp + 0x20]
mov dword [edi + 8], eax
mov dword [esp + 0x3c], ecx
test ecx, ecx
jne 0x10035f8a
lea esi, [edi + 0x1c]
mov ecx, 0xc6
mov edi, eax
mov eax, dword [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
mov dword [edi + 4], eax
jmp 0x10035e45
lea edi, [esp + 0x20]
push edi
push edx
push eax
push ecx
mov ecx, dword [esp + 0x90]
mov edx, 0x2c
vzeroupper
call fcn.1003ddd0
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
mov dword [edi + 8], eax
test ecx, ecx
jne 0x10035f8a
mov eax, dword [esp + 0x1c]
mov dword [edi + 4], eax
jmp 0x10035e45
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 0x10035f8a
mov al, byte [esp + 0x2b]
vmovdqu ymm0, ymmword [esp + 0x8c]
vmovdqu ymmword [esi], ymm0
vmovq xmm0, qword [esp + 0xac]
vmovq qword [esi + 0x20], xmm0
mov byte [esi + 1], al
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
test ebp, ebp
je 0x10035e87
lea ebp, [esi - 0x2c]
movzx eax, word [ebx]
mov ecx, dword [ebx + 0x1c]
mov edx, eax
mov edi, dword [ebx + 0x18]
mov dword [esp + 0x30], edx
movzx edx, dx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x34], edx
test al, 3
je 0x10035ebf
mov dword [esp + 0x18], 0x7d00
mov dword [esp + 0x38], 0xffff8300
jmp 0x10035ec9
mov eax, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], eax
mov eax, 1
mov dword [esp + 0x1c], eax
cmp ebx, dword [ebx + 0x24]
jne 0x10035f0a
mov word [esi + 2], di
test byte [ebx], 3
je 0x10035ee2
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 + 0x1c], eax
jmp 0x100358b0
mov eax, dword [esp + 0x1c]
mov ebx, dword [ebx + 0x20]
jmp 0x100358b0
mov eax, dword [esp + 0x74]
add eax, 4
mov dword [esp + 0x74], eax
cmp eax, dword [esp + 0x84]
jb 0x100357f0
mov ebp, dword [esp + 0x5c]
mov eax, dword [ebp + 8]
test eax, eax
je 0x10035fbe
imul edx, dword [ebp], 0x2c
add edx, eax
cmp eax, edx
jae 0x10035fbe
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 0x10035f9a
cmp eax, esi
jge 0x10035f77
sub esi, eax
sar esi, 1
add word [ecx], si
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 0x1c]
cmp eax, edx
jle 0x10035fb6
sub eax, edx
sar eax, 1
add word [ecx], ax
jmp 0x10035fb6
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
vzeroupper
add esp, 0xa8
ret
cmp eax, esi
jle 0x10035fa5
sub eax, esi
sar eax, 1
add word [ecx], ax
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 0x1c]
cmp eax, edx
jge 0x10035fb6
sub edx, eax
sar edx, 1
add word [ecx], dx
add ecx, 0x2c
sub ebx, 1
jne 0x10035f56
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
vzeroupper
add esp, 0xa8
ret