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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
push esi
push edi
mov edi, ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], edi
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x118]
mov esi, dword [ecx + 0x54]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x9c]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x10], esi
mov edx, dword [eax]
mov eax, dword [ebp + 0xc]
or eax, 0x2000
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 8]
push eax
call fcn.100d3de0
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
jne 0x101213f2
mov ecx, dword [esp + 0x38]
cmp byte [ecx + 0x15], al
jne 0x10120e72
mov edx, dword [esp + 0x18]
mov ecx, dword [edi + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x58]
movzx esi, word [edx + 0x44]
mov dword [esp + 0x14], ecx
movzx eax, word [eax + 0xc]
mov dword [esp + 0x34], eax
movzx eax, word [ecx + 0x100]
mov ecx, 0x3e80000
mov dword [esp + 0x30], eax
mov eax, esi
shl eax, 0x10
mov edx, eax
mov dword [esp + 0x58], eax
call fcn.100d5d20
mov dword [esp + 0x38], eax
mov dword [esp + 0x70], 0x10000
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
test si, si
je 0x10120e6e
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx*4 + 0x101896f0]
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x10120e6e
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x30]
push edx
push eax
call ecx
mov eax, dword [esp + 0x3c]
add esp, 0xc
cmp word [esp + 0x34], ax
mov eax, dword [esp + 0x28]
jne 0x10120ce3
mov edx, dword [esp + 0x14]
test eax, eax
jle 0x10120d69
cmp eax, dword [edx + 0x104]
je 0x10120d69
mov esi, dword [esp + 0x18]
mov ecx, edi
push eax
mov edx, esi
call fcn.101207a0
shl eax, 0x10
add esp, 4
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
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 + 0x50], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
mov dword [ecx + 0x104], eax
mov eax, dword [esi + 0x58]
mov ax, word [eax + 0xc]
mov word [ecx + 0x100], ax
mov ecx, dword [esp + 0x50]
call fcn.100d5d20
mov edx, dword [esp + 0x14]
add eax, 0x8000
shr eax, 0x10
cwde
mov dword [edx + 0x10c], eax
jmp 0x10120d6d
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
cmp word [esp + 0x34], ax
mov eax, dword [esp + 0x2c]
jne 0x10120d90
test eax, eax
jle 0x10120e37
cmp eax, dword [edx + 0x108]
je 0x10120e37
push eax
mov edx, esi
mov ecx, edi
call fcn.101207a0
mov ecx, dword [esp + 0x1c]
mov esi, eax
shl esi, 0x10
add esp, 4
mov dword [esp + 0x50], esi
mov ecx, dword [ecx + 0x58]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
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 + 0x48], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov dword [edx + 0x108], ecx
mov eax, dword [eax + 0x58]
mov ecx, dword [esp + 0x48]
mov ax, word [eax + 0xc]
mov word [edx + 0x100], ax
mov edx, dword [esp + 0x38]
call fcn.100d5d20
mov ecx, dword [esp + 0x14]
add eax, 0x8000
mov edx, dword [esp + 0x58]
shr eax, 0x10
cwde
mov dword [ecx + 0x110], eax
mov ecx, edx
sub ecx, esi
sub ecx, 0x80000
call fcn.100d5d20
mov edx, dword [esp + 0x14]
mov dword [edx + 0x114], eax
mov esi, dword [esp + 0x10]
push dword [edx + 0x110]
mov edx, dword [edx + 0x10c]
lea ecx, [esi + 0x6c]
call fcn.100cfca0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x74]
add esp, 4
mov eax, dword [ecx + 0x114]
lea ecx, [esi + 0x6c]
mov dword [esp + 0x7c], eax
call fcn.100d00d0
jmp 0x10120e72
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x5c]
mov al, byte [ecx + 8]
mov byte [edi + 0x10], al
test al, al
je 0x10120f82
movups xmm0, xmmword [ecx + 0xc]
movups xmmword [edi + 0x14], xmm0
mov eax, dword [ecx + 0x1c]
movups xmm1, xmmword [edi + 0x14]
mov dword [edi + 0x24], eax
mov eax, dword [ecx + 0x20]
movaps xmm0, xmm1
mov dword [edi + 0x28], eax
psrldq xmm0, 0xc
movaps xmmword [esp + 0x60], xmm1
movd dword [esp + 0x30], xmm0
movd dword [esp + 0x2c], xmm1
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
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 + 0x5c]
movaps xmm0, xmm1
psrldq xmm0, 8
psrldq xmm1, 4
mov dword [esp + 0x18], eax
movd dword [esp + 0x34], xmm0
movd dword [esp + 0x38], xmm1
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
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 + 0x58], eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x58]
mov dword [esp + 0x18], eax
je 0x10120f82
mov ecx, dword [esp + 0x38]
mov edx, eax
call fcn.100d5d20
mov edx, dword [esp + 0x18]
neg eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x64], eax
call fcn.100d5d20
mov edx, dword [esp + 0x18]
neg eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x68], eax
call fcn.100d5d20
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x60], eax
call fcn.100d5d20
lea edx, [esp + 0x60]
mov dword [esp + 0x6c], eax
lea ecx, [edi + 0x24]
call fcn.100d0210
cmp dword [esi + 0x48], 0x6f75746c
je 0x10120f98
mov dword [esp + 0x44], 7
jmp 0x101211b8
cmp byte [edi + 0x10], 0
je 0x10120ff5
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x58], eax
lea eax, [esi + 0x6c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x5c], eax
test eax, eax
je 0x10120ff5
mov edx, dword [eax + 4]
xor ecx, ecx
cmp cx, word [eax + 2]
mov ecx, dword [esp + 0x38]
jge 0x10120ff5
xor esi, esi
mov edi, eax
nop word [eax + eax]
add dword [edx + 4], ecx
lea edx, [edx + 8]
mov eax, dword [esp + 0x58]
inc esi
add dword [edx - 8], eax
movsx eax, word [edi + 2]
movzx ecx, si
cmp ecx, eax
mov ecx, dword [esp + 0x38]
jl 0x10120fd0
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
mov dword [edi + 0x2c], eax
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x30], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x5c], 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 + 0x50], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
add eax, dword [esp + 0x50]
mov dword [edi + 0x34], eax
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x38], eax
cmp word [esi + 0x6e], 0
je 0x101211b8
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov eax, dword [eax*4 + 0x101896f0]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x5c], eax
test eax, eax
je 0x1012108b
mov eax, dword [esp + 0x24]
push edx
add eax, 0x14
push eax
push ecx
push dword [ebp + 8]
call dword [esp + 0x6c]
mov ecx, dword [esp + 0x30]
add esp, 0x10
mov eax, dword [esp + 0x40]
cmp dword [eax + 0x14], 1
je 0x10121171
mov edx, dword [ecx + 0x40]
mov ecx, dword [ecx + 0x38]
imul eax, ecx, 0x2c
add eax, edx
mov dword [esp + 0x34], eax
cmp ecx, 1
jle 0x1012115d
mov eax, dword [esp + 0x20]
test byte [eax + 0xab4], 4
jne 0x1012115d
mov eax, dword [esp + 0x34]
mov esi, dword [edx + 4]
mov ecx, dword [edi + 0x34]
mov edx, dword [edx + 8]
sub ecx, dword [eax - 0x28]
mov eax, dword [eax - 0x24]
mov dword [esp + 0x2c], ecx
mov ecx, edx
add eax, dword [esp + 0x2c]
sub ecx, esi
mov dword [esp + 0x38], esi
cmp dword [esp + 0x38], 0x18
lea esi, [ecx - 8]
cmovge esi, ecx
cmp dword [esp + 0x2c], 0x18
lea ecx, [eax + 8]
mov dword [esp + 0x58], esi
cmovge ecx, eax
mov dword [esp + 0x50], ecx
add ecx, 0x20
lea eax, [esi + 0x20]
and ecx, 0xffffffc0
mov esi, dword [esp + 0x10]
and eax, 0xffffffc0
mov dword [esp + 0x5c], ecx
mov dword [edi + 0x34], ecx
mov ecx, eax
mov dword [edi + 0x2c], eax
cmp eax, edx
jl 0x10121130
cmp dword [esp + 0x38], 0
jle 0x10121130
lea ecx, [eax - 0x40]
mov dword [edi + 0x2c], ecx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x5c]
cmp eax, dword [edx - 0x24]
jg 0x1012114a
cmp dword [esp + 0x2c], 0
jle 0x1012114a
add eax, 0x40
mov dword [edi + 0x34], eax
sub ecx, dword [esp + 0x58]
mov dword [esi + 0x90], ecx
mov eax, dword [edi + 0x34]
sub eax, dword [esp + 0x50]
jmp 0x101211b2
mov edx, dword [edi + 0x2c]
mov esi, dword [edi + 0x34]
lea ecx, [edx + 0x20]
and ecx, 0xffffffc0
lea eax, [esi + 0x20]
mov dword [edi + 0x2c], ecx
jmp 0x10121197
mov ecx, dword [ecx + 0xac0]
mov edx, dword [edi + 0x2c]
add ecx, 0x20
mov eax, dword [esp + 0x20]
add ecx, edx
mov esi, dword [edi + 0x34]
and ecx, 0xffffffc0
mov dword [edi + 0x2c], ecx
mov eax, dword [eax + 0xac4]
add eax, 0x20
add eax, esi
and eax, 0xffffffc0
sub ecx, edx
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x10]
mov dword [eax + 0x90], ecx
mov eax, dword [edi + 0x34]
sub eax, esi
mov esi, dword [esp + 0x10]
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x20]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x30]
sub eax, dword [esi + 0x24]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
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 + 0x58], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
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 + 0x58], eax
cmp byte [edi + 0x10], 0
mov edx, dword [esp + 0x58]
mov dword [esp + 0x30], edx
mov dword [esp + 0x54], edx
je 0x10121273
mov ecx, dword [esp + 0x24]
lea edx, [edi + 0x14]
lea ecx, [ecx + 0x14]
call fcn.100d00d0
lea edx, [edi + 0x14]
lea ecx, [esp + 0x50]
call fcn.100d0210
mov eax, dword [esp + 0x54]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], eax
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x101212b9
mov eax, dword [esp + 0x24]
add eax, 0x14
je 0x101212b9
mov edx, dword [eax + 4]
xor ecx, ecx
xor esi, esi
cmp cx, word [eax + 2]
mov ecx, dword [esp + 0x38]
jge 0x101212b9
mov edi, eax
nop word [eax + eax]
sub dword [edx], ecx
lea edx, [edx + 8]
movsx eax, word [edi + 2]
inc esi
movzx ecx, si
cmp ecx, eax
mov ecx, dword [esp + 0x38]
jl 0x101212a0
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x70]
lea ecx, [ecx + 0x14]
call fcn.100d0360
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
add eax, 0x3f
mov ecx, dword [esp + 0x10]
and eax, 0xffffffc0
mov edx, dword [esp + 0x7c]
and esi, 0xffffffc0
sub eax, esi
add edx, 0x3f
and edx, 0xffffffc0
mov dword [ecx + 0x18], eax
mov eax, edx
mov ecx, dword [esp + 0x74]
and ecx, 0xffffffc0
sub eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x34]
add eax, esi
mov dword [ecx + 0x20], esi
and eax, 0xffffffc0
mov dword [ecx + 0x24], edx
mov esi, ecx
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x30]
add eax, edx
and eax, 0xffffffc0
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x40]
cmp dword [eax + 0x14], 1
je 0x10121387
mov eax, dword [esi + 4]
test byte [eax + 8], 4
je 0x10121387
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 8]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x5c], 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 + 0x50], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x28], eax
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
jmp 0x1012139a
cmp dword [esi + 0x28], 0
je 0x10121396
mov eax, dword [edi + 0x34]
sub eax, dword [edi + 0x2c]
mov dword [esi + 0x28], eax
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x5c], 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 + 0x50], eax
mov eax, dword [esi + 0x28]
add eax, 0x20
mov dword [esi + 0x48], 0x6f75746c
and eax, 0xffffffc0
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x50]
add eax, 0x20
and eax, 0xffffffc0
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x44]
pop edi
pop esi
mov esp, ebp
pop ebp
ret