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

Disassembly:
sub esp, 0x40
mov ecx, dword [esp + 0x44]
push ebx
mov ebx, dword [esp + 0x50]
push ebp
mov eax, dword [ecx]
mov ebp, dword [ecx + 8]
push esi
mov esi, dword [esp + 0x60]
push edi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x14], ebp
cmp edi, eax
jae 0x100bf177
mov edx, dword [esp + 0x60]
cmp edx, edi
jbe 0x100bf177
cmp edx, eax
ja 0x100bf177
mov eax, dword [ecx + 4]
cmp ebx, eax
jae 0x100bf177
cmp esi, ebx
jbe 0x100bf177
cmp esi, eax
ja 0x100bf177
lea esi, [ecx + 0xc]
mov dword [esp + 0x40], ebx
mov ecx, dword [esi]
xor edx, edx
mov eax, ebx
mov dword [esp + 0x2c], esi
div ecx
xor edx, edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x28], eax
mov eax, edi
div ebp
mov esi, eax
mov dword [esp + 0x4c], esi
nop
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x20], esi
mov esi, edi
cmp ebx, eax
jne 0x100beadc
xor edx, edx
mov dword [esp + 0x24], esi
div ecx
mov eax, ecx
sub eax, edx
jmp 0x100beae2
mov eax, ecx
mov dword [esp + 0x24], edi
mov edx, dword [esp + 0x64]
sub ecx, eax
sub edx, ebx
cmp eax, edx
cmovb edx, eax
mov eax, ebx
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x10], edx
mov edx, ebp
imul edx, ecx
mov ecx, eax
imul ecx, dword [esp + 0x70]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], ecx
mov ebx, ecx
mov dword [esp + 0x1c], ebx
cmp esi, edi
jne 0x100beb27
xor edx, edx
mov eax, edi
div ebp
mov eax, ebp
sub eax, edx
jmp 0x100beb2f
mov eax, ebp
mov dword [esp + 0x1c], ecx
mov ebx, ecx
mov edx, dword [esp + 0x54]
mov edi, ebp
mov ebp, dword [esp + 0x60]
sub edi, eax
sub ebp, esi
cmp eax, ebp
mov ecx, dword [edx + 0x10]
cmovb ebp, eax
imul ecx, dword [esp + 0x28]
mov eax, dword [edx + 0x18]
mov dword [esp + 0x18], ebp
add ecx, dword [esp + 0x20]
cmp dword [esp + 0x78], 0
mov esi, dword [eax + ecx*4]
je 0x100beeb2
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x70]
mov eax, edx
imul eax, dword [esp + 0x30]
imul ecx, dword [esp + 0x6c]
add ecx, eax
mov eax, dword [esp + 0x68]
lea ebx, [eax + ecx*4]
test esi, esi
jne 0x100bec26
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x10]
cmp eax, 1
jne 0x100bebd6
test edx, edx
je 0x100beea4
mov eax, dword [esp + 0x70]
lea edi, [ebp*4]
mov esi, edx
lea ebp, [eax*4]
push edi
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
add ebx, ebp
sub esi, 1
jne 0x100bebb5
mov ebx, dword [esp + 0x70]
imul ebx, dword [esp + 0x30]
jmp 0x100bf10b
test edx, edx
je 0x100beea4
mov edi, dword [esp + 0x70]
mov esi, edx
shl edi, 2
test ebp, ebp
je 0x100bec11
lea edx, [eax*4]
mov ecx, ebp
mov eax, ebx
nop word [eax + eax]
mov dword [eax], 0
add eax, edx
sub ecx, 1
jne 0x100bec00
mov eax, dword [esp + 0x6c]
add ebx, edi
sub esi, 1
jne 0x100bebe7
mov ebx, dword [esp + 0x70]
imul ebx, dword [esp + 0x30]
jmp 0x100bf10b
mov eax, dword [esp + 0x34]
add eax, edi
mov edi, dword [esp + 0x6c]
lea esi, [esi + eax*4]
cmp edi, 1
jne 0x100becc8
mov edx, dword [esp + 0x10]
test edx, edx
je 0x100beea4
cmp ebp, 4
jne 0x100bec84
mov eax, dword [esp + 0x70]
lea ecx, [eax*4]
mov eax, dword [esp + 0x14]
lea edx, [eax*4]
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [esi]
add esi, edx
movups xmmword [ebx], xmm0
add ebx, ecx
sub eax, 1
jne 0x100bec67
mov ebx, dword [esp + 0x70]
imul ebx, dword [esp + 0x30]
jmp 0x100bf10b
shl ebp, 2
mov edi, edx
nop dword [eax]
push ebp
push esi
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x7c]
add esp, 0xc
lea eax, [ecx*4]
mov ecx, dword [esp + 0x14]
add ebx, eax
lea eax, [ecx*4]
add esi, eax
sub edi, 1
jne 0x100bec90
mov ebx, dword [esp + 0x70]
imul ebx, dword [esp + 0x30]
jmp 0x100bf10b
cmp ebp, 1
jne 0x100bed0b
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100beea4
mov ecx, dword [esp + 0x14]
shl edx, 2
lea edi, [ecx*4]
mov ecx, eax
nop dword [eax]
mov eax, dword [esi]
add esi, edi
mov dword [ebx], eax
add ebx, edx
sub ecx, 1
jne 0x100becf0
mov ebx, dword [esp + 0x70]
imul ebx, dword [esp + 0x30]
jmp 0x100bf10b
mov edx, dword [esp + 0x10]
cmp edx, 1
jne 0x100bed80
cmp edi, 2
jne 0x100bed80
xor ecx, ecx
and ebp, 0xfffffffc
jbe 0x100bed55
dec ebp
lea edx, [esi + 8]
shr ebp, 2
lea edi, [ebx + 0x10]
inc ebp
lea ecx, [ebp*4]
mov eax, dword [edx - 8]
lea edi, [edi + 0x20]
mov dword [edi - 0x30], eax
lea edx, [edx + 0x10]
mov eax, dword [edx - 0x14]
mov dword [edi - 0x28], eax
mov eax, dword [edx - 0x10]
mov dword [edi - 0x20], eax
mov eax, dword [edx - 0xc]
mov dword [edi - 0x18], eax
sub ebp, 1
jne 0x100bed32
mov ebp, dword [esp + 0x18]
cmp ecx, ebp
jae 0x100beea4
lea edx, [ebx + ecx*8]
mov eax, dword [esi + ecx*4]
lea edx, [edx + 8]
inc ecx
mov dword [edx - 8], eax
cmp ecx, ebp
jb 0x100bed64
mov ebx, dword [esp + 0x70]
imul ebx, dword [esp + 0x30]
jmp 0x100bf10b
cmp ebp, 8
jb 0x100bee45
cmp edi, 8
jne 0x100bee45
test edx, edx
je 0x100beea4
mov eax, ebp
mov dword [esp + 0x1c], edx
and eax, 0xfffffffc
mov dword [esp + 0x38], eax
xor edx, edx
test eax, eax
je 0x100bedf5
lea ebp, [eax - 1]
shr ebp, 2
lea ecx, [esi + 8]
inc ebp
lea edi, [ebx + 0x40]
lea edx, [ebp*4]
mov eax, dword [ecx - 8]
lea edi, [edi + 0x80]
mov dword [edi - 0xc0], eax
lea ecx, [ecx + 0x10]
mov eax, dword [ecx - 0x14]
mov dword [edi - 0xa0], eax
mov eax, dword [ecx - 0x10]
mov dword [edi - 0x80], eax
mov eax, dword [ecx - 0xc]
mov dword [edi - 0x60], eax
sub ebp, 1
jne 0x100bedc1
mov ebp, dword [esp + 0x18]
cmp edx, ebp
jae 0x100bee0e
mov ecx, edx
shl ecx, 5
add ecx, ebx
nop dword [eax]
mov eax, dword [esi + edx*4]
lea ecx, [ecx + 0x20]
inc edx
mov dword [ecx - 0x20], eax
cmp edx, ebp
jb 0x100bee00
mov eax, dword [esp + 0x70]
lea ecx, [eax*4]
mov eax, dword [esp + 0x14]
add ebx, ecx
lea ecx, [eax*4]
mov eax, dword [esp + 0x38]
add esi, ecx
sub dword [esp + 0x1c], 1
jne 0x100beda7
mov ebx, dword [esp + 0x70]
imul ebx, dword [esp + 0x30]
jmp 0x100bf10b
test edx, edx
je 0x100beea4
mov eax, dword [esp + 0x70]
mov ebp, edx
shl eax, 2
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x38], eax
nop
xor ecx, ecx
test edx, edx
je 0x100bee88
mov ebp, dword [esp + 0x18]
mov edx, ebx
shl edi, 2
nop
mov eax, dword [esi + ecx*4]
inc ecx
mov dword [edx], eax
add edx, edi
cmp ecx, ebp
jb 0x100bee70
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
add ebx, eax
lea ecx, [edi*4]
mov edi, dword [esp + 0x6c]
add esi, ecx
sub ebp, 1
mov dword [esp + 0x1c], ebp
jne 0x100bee60
mov ebx, dword [esp + 0x70]
imul ebx, dword [esp + 0x30]
jmp 0x100bf10b
test esi, esi
jne 0x100beef6
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
imul eax, dword [edx + 8]
shl eax, 2
push eax
push 1
call fcn.1008aa30
mov esi, eax
add esp, 8
test esi, esi
je 0x100bf160
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x1c], ebx
mov edx, dword [ecx + 0x10]
imul edx, dword [esp + 0x28]
mov ecx, dword [ecx + 0x18]
add edx, dword [esp + 0x20]
mov dword [ecx + edx*4], esi
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x6c]
add eax, edi
mov edx, dword [esp + 0x68]
lea esi, [esi + eax*4]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x58]
imul eax, ecx
add eax, ebx
lea ebp, [edx + eax*4]
cmp ecx, 1
jne 0x100bef9f
mov edi, dword [esp + 0x10]
test edi, edi
je 0x100bf10b
mov eax, dword [esp + 0x18]
cmp eax, 4
jne 0x100bef65
mov eax, dword [esp + 0x14]
lea ecx, [eax*4]
mov eax, dword [esp + 0x70]
lea edx, [eax*4]
mov eax, edi
nop dword [eax]
movups xmm0, xmmword [ebp]
add ebp, edx
movups xmmword [esi], xmm0
add esi, ecx
sub eax, 1
jne 0x100bef50
jmp 0x100bf10b
lea ebx, [eax*4]
nop dword [eax]
push ebx
push ebp
push esi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea eax, [ecx*4]
mov ecx, dword [esp + 0x70]
add esi, eax
lea eax, [ecx*4]
add ebp, eax
sub edi, 1
jne 0x100bef70
jmp 0x100bf107
mov edi, dword [esp + 0x18]
cmp edi, 1
jne 0x100befe3
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100bf10b
mov ecx, dword [esp + 0x70]
lea edx, [ecx*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx*4]
mov ecx, eax
nop dword [eax]
mov eax, dword [ebp]
add ebp, edx
mov dword [esi], eax
add esi, edi
sub ecx, 1
jne 0x100befd0
jmp 0x100bf10b
cmp edi, 8
jb 0x100bf0a0
cmp ecx, 8
jne 0x100bf0a0
mov edx, dword [esp + 0x10]
test edx, edx
je 0x100bf10b
mov eax, edi
mov dword [esp + 0x38], edx
and eax, 0xfffffffc
mov dword [esp + 0x44], eax
nop
xor edx, edx
test eax, eax
je 0x100bf061
lea ebx, [eax - 1]
shr ebx, 2
lea ecx, [esi + 8]
inc ebx
lea edi, [ebp + 0x40]
lea edx, [ebx*4]
nop word [eax + eax]
mov eax, dword [edi - 0x40]
lea edi, [edi + 0x80]
mov dword [ecx - 8], eax
lea ecx, [ecx + 0x10]
mov eax, dword [edi - 0xa0]
mov dword [ecx - 0x14], eax
mov eax, dword [edi - 0x80]
mov dword [ecx - 0x10], eax
mov eax, dword [edi - 0x60]
mov dword [ecx - 0xc], eax
sub ebx, 1
jne 0x100bf030
mov edi, dword [esp + 0x18]
cmp edx, edi
jae 0x100bf075
mov eax, edx
shl eax, 5
add eax, ebp
mov ecx, dword [eax]
lea eax, [eax + 0x20]
mov dword [esi + edx*4], ecx
inc edx
cmp edx, edi
jb 0x100bf068
mov eax, dword [esp + 0x70]
lea ecx, [eax*4]
mov eax, dword [esp + 0x14]
add ebp, ecx
lea ecx, [eax*4]
mov eax, dword [esp + 0x44]
add esi, ecx
sub dword [esp + 0x38], 1
jne 0x100bf010
jmp 0x100bf107
mov edx, dword [esp + 0x10]
test edx, edx
je 0x100bf10f
mov eax, dword [esp + 0x70]
mov ebx, edx
mov edx, dword [esp + 0x14]
shl eax, 2
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], ebx
nop dword [eax]
xor ecx, ecx
test edi, edi
je 0x100bf0f3
mov eax, dword [esp + 0x6c]
mov edx, ebp
mov ebx, dword [esp + 0x18]
lea edi, [eax*4]
mov eax, dword [edx]
add edx, edi
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, ebx
jb 0x100bf0d7
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
lea ecx, [edx*4]
add ebp, eax
add esi, ecx
sub ebx, 1
mov dword [esp + 0x38], ebx
jne 0x100bf0c0
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
add esi, dword [esp + 0x18]
inc dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], esi
cmp esi, dword [esp + 0x60]
jb 0x100beb13
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
add ebx, edx
inc dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x40], ebx
mov ecx, dword [eax]
mov dword [esp + 0x2c], esi
cmp ebx, dword [esp + 0x64]
jae 0x100bf16a
mov esi, dword [esp + 0x4c]
jmp 0x100beac0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x40
ret
mov eax, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret