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

Disassembly:
sub esp, 0x80
mov eax, dword [0x103b0040]
xor eax, esp
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x94]
push ebx
mov ebx, dword [esp + 0x90]
push ebp
mov ebp, dword [esp + 0x8c]
push esi
mov esi, dword [ebx + 0x58]
push edi
mov edi, dword [ebx + 0x54]
sar ecx, 0x10
mov edx, dword [esi + 0x28]
and ecx, 0xf
mov dword [esp + 0x3c], ebx
mov eax, dword [edi + 0x9c]
mov dword [esp + 0x10], eax
cmp dword [edx + 0xc], 0
mov dword [esp + 0x50], edi
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x48], eax
je 0x100bc5f3
cmp dword [edx + 4], ecx
je 0x100bc60e
mov dword [edx + 4], ecx
movups xmm0, xmmword [esi + 0xc]
movups xmmword [edx + 8], xmm0
movq xmm0, qword [esi + 0x1c]
movq qword [edx + 0x18], xmm0
mov eax, dword [esi + 0x24]
mov dword [edx + 0x20], eax
mov dword [esp + 0x60], ebx
lea esi, [ebp + 4]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], 0
mov eax, dword [edx + 0x10]
mov dword [esp + 0x68], eax
mov dword [esp + 0x74], ecx
xor ecx, ecx
mov dword [ebp], ebx
mov eax, dword [ebx + 0x74]
mov dword [esp + 0x70], 0
mov dword [esp + 0x78], 0
mov dword [esi], eax
test eax, eax
jne 0x100bc674
push dword [esp + 0x98]
push esi
push ebx
call fcn.100b86a0
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x100bceab
mov eax, dword [esi]
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], fcn.100b8630
test ecx, ecx
jne 0x100bceab
mov esi, dword [esi]
xor ebx, ebx
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x20], ecx
cmp edx, dword [esi + 4]
jb 0x100bc69e
mov ecx, 6
mov dword [esp + 0x20], ecx
jmp 0x100bc7a4
mov eax, dword [esi + 8]
movzx edx, word [eax + edx*2]
and edx, 0x3fff
mov dword [esp + 0x28], edx
mov eax, dword [edx*4 + 0x1013bfd0]
mov ebx, dword [esi + edx*4 + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 4]
mov eax, dword [eax*4 + 0x1013b34c]
mov dword [esp + 0x18], eax
test ebx, ebx
jne 0x100bc7a4
mov eax, dword [esi]
mov ecx, dword [eax + 0x64]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
push dword [eax + 4]
push ecx
call fcn.100b3600
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov ebx, eax
test ecx, ecx
jne 0x100bceab
mov eax, dword [esp + 0x2c]
mov dword [ebx], eax
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x24], esi
mov eax, dword [eax + 8]
test eax, eax
je 0x100bc798
push dword [esi]
push ebx
call eax
mov ecx, eax
add esp, 8
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x100bc79c
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x100bc73b
push ebx
call eax
add esp, 4
push ebx
push dword [esp + 0x28]
call fcn.100b3660
mov ecx, dword [esp + 0x28]
add esp, 8
xor ebx, ebx
cmp ecx, 0xffffffff
jne 0x100bc7a4
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0xa0]
movzx edx, word [eax + ecx*2]
xor ecx, ecx
and edx, 0x3fff
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edx
mov eax, dword [edx*4 + 0x1013bfd0]
mov ebx, dword [esi + edx*4 + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 4]
mov eax, dword [eax*4 + 0x1013b34c]
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x100bc6d4
jmp 0x100bc7a4
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [esi + edx*4 + 0x10], ebx
test ecx, ecx
jne 0x100bceab
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov esi, dword [eax*4 + 0x1013b34c]
mov dword [ebp + 0xc], ebx
mov dword [esp + 0x14], esi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100bc7d3
lea ecx, [esp + 0x60]
push ecx
push ebx
call eax
add esp, 8
jmp 0x100bc7ee
movups xmm0, xmmword [esp + 0x60]
movups xmmword [ebx + 4], xmm0
movq xmm0, qword [esp + 0x70]
movq qword [ebx + 0x14], xmm0
mov eax, dword [esp + 0x78]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x18]
test eax, eax
je 0x100bc807
push ebx
push dword [esp + 0x4c]
call eax
add esp, 8
test eax, eax
jne 0x100bcead
mov eax, dword [esp + 0xa4]
and eax, 0xfffffffb
or eax, 0x2801
push eax
push dword [esp + 0xa4]
push dword [esp + 0x44]
call fcn.100ae3e0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x2c], esi
test esi, esi
jne 0x100bcea7
cmp dword [esp + 0x74], 1
jne 0x100bca81
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x80]
mov al, byte [eax + 0x38]
test al, al
je 0x100bc86b
jns 0x100bca81
mov eax, dword [esp + 0x98]
cmp byte [eax + 0x14], 0
jne 0x100bca81
mov eax, dword [ecx + 0x54]
mov esi, dword [ebp + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x58]
mov dword [esp + 0x40], esi
mov eax, dword [eax + 0x28]
add eax, 8
mov dword [esp + 0x44], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], 0
movzx eax, word [eax]
mov dword [esp + 0x24], eax
movzx eax, word [esi + 0x16c]
mov dword [esp + 0x38], eax
movzx eax, word [ecx + 0x44]
mov ecx, eax
mov dword [esp + 0x7c], 0x10000
shl ecx, 0x10
mov dword [esp + 0x30], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
test ax, ax
je 0x100bca81
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov eax, dword [eax*4 + 0x1013b34c]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x100bca81
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push ebx
call eax
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp word [esp + 0x24], ax
mov eax, dword [esp + 0x44]
jne 0x100bc91e
test eax, eax
jle 0x100bc98c
cmp eax, dword [esi + 0x170]
je 0x100bc98c
push eax
push dword [esp + 0x40]
push ebp
call fcn.100bc340
mov dword [esp + 0x60], eax
add esp, 0xc
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x170], eax
mov eax, dword [esp + 0x18]
mov ax, word [eax]
mov word [esi + 0x16c], ax
mov eax, dword [esp + 0x5c]
add eax, 0x8000
shr eax, 0x10
cwde
mov dword [esi + 0x178], eax
mov eax, dword [esp + 0x38]
cmp word [esp + 0x24], ax
mov eax, dword [esp + 0x28]
jne 0x100bc9af
test eax, eax
jle 0x100bca42
cmp eax, dword [esi + 0x174]
je 0x100bca42
push eax
push dword [esp + 0x40]
push ebp
call fcn.100bc340
mov esi, eax
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], esi
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x174], eax
mov eax, dword [esp + 0x18]
mov ax, word [eax]
mov word [ecx + 0x16c], ax
mov eax, dword [esp + 0x54]
add eax, 0x8000
shr eax, 0x10
cwde
mov dword [ecx + 0x17c], eax
mov eax, dword [esp + 0x30]
push eax
sub eax, esi
sub eax, 0x80000
push eax
call fcn.100ad550
mov ecx, dword [esp + 0x48]
add esp, 8
mov dword [ecx + 0x180], eax
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x1c]
add esi, 0x6c
push dword [eax + 0x17c]
push dword [eax + 0x178]
push esi
call fcn.100af9c0
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 0x180]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x88]
push eax
push esi
call fcn.100b0140
add esp, 0x14
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 8]
mov byte [ebp + 0x10], al
test al, al
je 0x100bcad0
movups xmm0, xmmword [ecx + 0xc]
lea esi, [ebp + 0x24]
movups xmmword [ebp + 0x14], xmm0
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x20]
movups xmm0, xmmword [ebp + 0x14]
mov dword [esi], eax
lea eax, [esp + 0x7c]
push eax
mov dword [esi + 4], ecx
movups xmmword [esp + 0x80], xmm0
call fcn.100aec20
add esp, 4
test eax, eax
jne 0x100bcad0
lea eax, [esp + 0x7c]
push eax
push esi
call fcn.100b1f50
add esp, 8
cmp dword [edi + 0x48], 0x6f75746c
je 0x100bcae6
mov dword [esp + 0x2c], 7
jmp 0x100bcc78
cmp byte [ebp + 0x10], 0
je 0x100bcafe
push dword [ebp + 0x28]
lea eax, [edi + 0x6c]
push dword [ebp + 0x24]
push eax
call fcn.100b0180
add esp, 0xc
mov esi, dword [esp + 0x48]
mov eax, dword [esi + 8]
mov dword [ebp + 0x2c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp + 0x30], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esi + 8]
add eax, dword [esp + 0x30]
mov dword [ebp + 0x34], eax
mov eax, dword [esi + 0x10]
mov dword [ebp + 0x38], eax
cmp word [edi + 0x6e], 0
je 0x100bcc78
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
je 0x100bcb90
mov eax, dword [esp + 0x4c]
push ebx
add eax, 0x14
push eax
push esi
push dword [esp + 0xac]
call ecx
mov esi, eax
mov dword [esp + 0x3c], eax
add esp, 0x10
test esi, esi
jne 0x100bcea7
mov esi, dword [esp + 0x48]
cmp dword [esp + 0x74], 1
je 0x100bcc4d
mov eax, dword [esi + 0x38]
cmp eax, 1
jbe 0x100bcc4d
test byte [esi + 0xab4], 4
jne 0x100bcc4d
mov ecx, dword [esi + 0x40]
mov esi, dword [ebp + 0x34]
imul edi, eax, 0x2c
add edi, ecx
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov ecx, edx
sub ecx, eax
mov dword [esp + 0x24], eax
sub esi, dword [edi - 0x28]
mov eax, dword [edi - 0x24]
add eax, esi
mov dword [esp + 0x14], edi
cmp dword [esp + 0x24], 0x18
lea edi, [ecx - 8]
mov dword [esp + 0x10], esi
cmovge edi, ecx
cmp esi, 0x18
lea ecx, [eax + 8]
mov dword [esp + 0x38], edi
cmovge ecx, eax
mov eax, edi
mov edi, dword [esp + 0x50]
add eax, 0x20
and eax, 0xffffffc0
mov dword [esp + 0x1c], ecx
mov dword [ebp + 0x2c], eax
lea esi, [ecx + 0x20]
mov ecx, eax
and esi, 0xffffffc0
mov dword [ebp + 0x34], esi
cmp eax, edx
jl 0x100bcc24
cmp dword [esp + 0x24], 0
jle 0x100bcc24
lea ecx, [eax - 0x40]
mov dword [ebp + 0x2c], ecx
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 0x24]
jg 0x100bcc3a
cmp dword [esp + 0x10], 0
jle 0x100bcc3a
lea eax, [esi + 0x40]
mov dword [ebp + 0x34], eax
sub ecx, dword [esp + 0x38]
mov dword [edi + 0x90], ecx
mov eax, dword [ebp + 0x34]
sub eax, dword [esp + 0x1c]
jmp 0x100bcc72
mov edx, dword [ebp + 0x2c]
mov esi, dword [ebp + 0x34]
lea ecx, [edx + 0x20]
and ecx, 0xffffffc0
lea eax, [esi + 0x20]
and eax, 0xffffffc0
mov dword [ebp + 0x2c], ecx
mov dword [ebp + 0x34], eax
sub ecx, edx
mov dword [edi + 0x90], ecx
mov eax, dword [ebp + 0x34]
sub eax, esi
mov dword [edi + 0x94], eax
mov eax, dword [edi + 0x2c]
sub eax, dword [edi + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x30]
sub eax, dword [edi + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x10], eax
cmp byte [ebp + 0x10], 0
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x34], eax
je 0x100bcd1b
lea esi, [ebp + 0x14]
lea eax, [edi + 0x14]
push esi
push eax
call fcn.100b0140
lea eax, [esp + 0x38]
push esi
push eax
call fcn.100b1f50
add esp, 0x10
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x100bcd33
neg eax
push 0
push eax
lea eax, [edi + 0x14]
push eax
call fcn.100b0180
add esp, 0xc
lea eax, [esp + 0x7c]
push eax
lea eax, [edi + 0x14]
push eax
call fcn.100afe30
mov ecx, dword [esp + 0x8c]
add esp, 8
mov edi, dword [esp + 0x7c]
add ecx, 0x3f
mov edx, dword [esp + 0x88]
and edi, 0xffffffc0
mov eax, dword [esp + 0x50]
and ecx, 0xffffffc0
mov esi, dword [esp + 0x80]
add edx, 0x3f
and edx, 0xffffffc0
mov dword [esp + 0x84], ecx
sub ecx, edi
mov dword [esp + 0x7c], edi
mov dword [eax + 0x18], ecx
and esi, 0xffffffc0
mov eax, edx
mov dword [esp + 0x80], esi
sub eax, esi
mov dword [esp + 0x88], edx
mov esi, dword [esp + 0x50]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x30]
add eax, edi
mov dword [esi + 0x20], edi
and eax, 0xffffffc0
mov dword [esi + 0x24], edx
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x34]
add eax, edx
and eax, 0xffffffc0
mov dword [esi + 0x30], eax
cmp dword [esp + 0x74], 1
je 0x100bce3e
mov eax, dword [esi + 4]
test byte [eax + 8], 4
jne 0x100bcdee
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0xa0]
cmp ecx, dword [eax + 4]
jae 0x100bce3e
mov eax, dword [eax + 8]
mov ax, word [eax + ecx*2]
shr ax, 0xf
test al, al
je 0x100bce3e
cmp byte [ebx + 0x20], 0
je 0x100bce3e
mov eax, dword [ebx + 8]
lea edi, [esi + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
jmp 0x100bce4d
cmp dword [esi + 0x28], 0
lea edi, [esi + 0x28]
je 0x100bce4f
mov eax, dword [ebp + 0x34]
sub eax, dword [ebp + 0x2c]
mov dword [edi], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
add eax, 0x20
mov dword [esi + 0x48], 0x6f75746c
and eax, 0xffffffc0
mov dword [edi], eax
mov eax, dword [esp + 0x1c]
add eax, 0x20
and eax, 0xffffffc0
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x2c]
jmp 0x100bcead
mov eax, esi
jmp 0x100bcead
mov eax, ecx
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10123fc5
add esp, 0x80
ret