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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], ecx
push esi
push edi
mov eax, dword [eax + 0x18c]
mov ecx, dword [eax + 8]
lea eax, [ecx + 8]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 0x18c]
mov dword [esp + 0x30], eax
mov ecx, dword [eax + 8]
lea eax, [ecx + 8]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], ecx
mov edi, dword [eax + 4]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0xc]
sub ecx, edx
mov eax, dword [ebp + 8]
sub esi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edx
mov eax, dword [eax + 0x54]
mov edi, eax
and edi, 0xf8ffffff
mov dword [esp + 0x14], edi
cmp edi, 0x30545844
je 0x102460aa
cmp eax, 0x32495441
je 0x102460aa
cmp eax, 0x31495441
jne 0x102460c6
add ecx, 3
shr ecx, 2
cmp edi, 0x30545844
je 0x102460ca
cmp eax, 0x32495441
je 0x102460ca
cmp eax, 0x31495441
je 0x102460ca
mov edi, esi
jmp 0x102460f8
add esi, 3
shr esi, 2
cmp dword [esp + 0x14], 0x30545844
mov edi, esi
je 0x102460ee
cmp eax, 0x32495441
je 0x102460ee
mov dword [esp + 0x24], edx
cmp eax, 0x31495441
jne 0x102460f8
add edx, 3
shr edx, 2
mov dword [esp + 0x24], edx
cmp dword [esp + 0x14], 0x30545844
je 0x10246110
cmp eax, 0x32495441
je 0x10246110
cmp eax, 0x31495441
jne 0x1024611e
mov eax, dword [esp + 0x20]
add eax, 3
shr eax, 2
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x84]
imul eax, ecx
mov dword [esp + 0x18], eax
test eax, eax
je 0x10246a40
test esi, esi
je 0x10246a40
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax]
mov eax, edx
mov ecx, dword [ecx + 0x84]
imul eax, dword [ebp + 0x18]
imul ecx, dword [ebp + 0x14]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add ecx, eax
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], edx
mov byte [esp + 0xb4], 0
mov dword [esp + 0xb8], 0x42
mov dword [esp + 0xbc], 0xef
mov eax, dword [eax + 8]
test eax, eax
je 0x1024633d
test byte [eax + 0xb8], 0x20
je 0x1024633d
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], esi
movzx eax, byte [ecx + 0x61]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x54]
mov edx, eax
and edx, 0xf8ffffff
mov dword [esp + 0x28], edx
cmp edx, 0x30545844
je 0x10246249
cmp eax, 0x32495441
je 0x10246249
cmp eax, 0x31495441
je 0x10246249
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x2c], edx
jmp 0x10246288
mov edx, dword [ecx + 0x10]
mov esi, dword [esp + 0x3c]
add edx, 3
mov edi, dword [esp + 0x34]
shr edx, 2
cmp dword [esp + 0x28], 0x30545844
mov dword [esp + 0x2c], edx
je 0x1024627f
cmp eax, 0x32495441
je 0x1024627f
cmp eax, 0x31495441
je 0x1024627f
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x2c], edx
jmp 0x10246288
mov ecx, dword [ecx + 0xc]
add ecx, 3
shr ecx, 2
mov edx, dword [esp + 0x30]
mov dword [esp + 0x4c], 1
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov eax, dword [edx + 8]
mov edx, dword [esp + 0x2c]
add eax, 8
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x14]
imul eax, ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x64], 0
mov byte [esp + 0x74], 1
mov dword [esp + 0x78], 0x42
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x7c], 0xef
movq xmm0, qword [eax + 0x24]
mov eax, dword [eax + 0x2c]
movq qword [esp + 0x68], xmm0
movaps xmm0, xmmword [esp + 0x40]
movaps xmmword [esp + 0x80], xmm0
movaps xmm0, xmmword [esp + 0x50]
movaps xmmword [esp + 0x90], xmm0
movaps xmm0, xmmword [esp + 0x60]
mov dword [esp + 0x70], eax
movaps xmmword [esp + 0xa0], xmm0
movaps xmm0, xmmword [esp + 0x70]
movaps xmmword [esp + 0xb0], xmm0
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x88]
mov ecx, dword [edx]
test eax, eax
jne 0x10246353
mov eax, dword [ecx + 0x11d8]
cmp dword [ecx + 0x11d4], eax
je 0x10246361
mov dword [ecx + 0x11d4], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18c]
mov eax, dword [eax + 8]
test eax, eax
je 0x1024696f
test byte [eax + 0xb8], 0x20
je 0x1024696f
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + 0x54]
mov eax, dword [eax + 0x84]
imul eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
movzx eax, byte [edx + 0x61]
mov dword [esp + 0x30], eax
mov eax, ecx
and eax, 0xf8ffffff
mov dword [esp + 0x28], eax
cmp eax, 0x30545844
je 0x102463ca
cmp ecx, 0x32495441
je 0x102463ca
cmp ecx, 0x31495441
je 0x102463ca
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0xc]
jmp 0x102463fb
mov eax, dword [edx + 0x10]
add eax, 3
shr eax, 2
cmp dword [esp + 0x28], 0x30545844
je 0x102463f2
cmp ecx, 0x32495441
je 0x102463f2
cmp ecx, 0x31495441
je 0x102463f2
mov ecx, dword [edx + 0xc]
jmp 0x102463fb
mov ecx, dword [edx + 0xc]
add ecx, 3
shr ecx, 2
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x30]
imul edx, ecx
movq xmm0, qword [eax + 0x24]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x44], edx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 0x88]
mov dword [esp + 0x4c], 1
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], 0
movq qword [esp + 0x68], xmm0
mov byte [esp + 0x74], 1
mov dword [esp + 0x78], 0x42
mov dword [esp + 0x7c], 0xef
mov edx, dword [eax + 0x628]
mov dword [esp + 0x14], edx
cmp dword [edx + 4], 0
je 0x10246a11
cmp byte [edx + 0x10], 0
mov ecx, dword [0x11d0c5b8]
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x34], eax
je 0x1024677d
cmp byte [esp + 0xb4], 0
je 0x1024677d
cmp dword [esp + 0x2c], 0
jne 0x1024677d
cmp dword [esp + 0x9c], 0
jne 0x1024677d
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x28]
jne 0x1024677d
cmp eax, dword [esp + 0x84]
jne 0x1024677d
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0xa0]
jne 0x1024677d
cmp dword [esp + 0x8c], 1
jne 0x1024677d
mov ecx, dword [esp + 0x68]
cmp ecx, dword [esp + 0xa8]
jne 0x1024677d
movaps xmm0, xmmword [esp + 0xa0]
psrldq xmm0, 0xc
movd eax, xmm0
cmp dword [esp + 0x6c], eax
jne 0x1024677d
mov eax, 1
mov dword [esp + 0x1c], eax
shl dword [esp + 0x1c], cl
mov ecx, dword [esp + 0x1c]
imul ecx, dword [edx + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x6c]
shl eax, cl
mov ecx, eax
mov eax, dword [esp + 0x20]
imul ecx, dword [edx + 0xc]
xor edx, edx
div ecx
mov eax, ecx
mov dword [esp + 0x24], ecx
sub eax, edx
xor edx, edx
div ecx
cmp edx, esi
cmovae edx, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], edx
test edx, edx
je 0x10246774
mov eax, dword [edi]
lea ecx, [esp + 0x80]
push edx
push dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
call dword [eax + 0x10]
mov edx, dword [esp + 0x20]
add edx, dword [esp + 0x28]
mov dword [esp + 0x20], edx
sub esi, dword [esp + 0x28]
je 0x1024679a
mov ecx, dword [esp + 0x24]
neg ecx
and ecx, esi
mov dword [esp + 0x24], ecx
je 0x102466d4
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
dec edx
movaps xmm2, xmmword [esp + 0x50]
add edx, ecx
movaps xmm0, xmmword [esp + 0x40]
neg ecx
movaps xmm1, xmmword [esp + 0x90]
and edx, ecx
mov ecx, edx
movaps xmmword [esp + 0x110], xmm2
imul ecx, dword [esp + 0x20]
imul edx, dword [esp + 0x24]
psrldq xmm2, 8
movaps xmmword [esp + 0x100], xmm0
movaps xmm0, xmmword [esp + 0x60]
movd eax, xmm2
movaps xmmword [esp + 0x120], xmm0
movaps xmm0, xmmword [esp + 0x70]
add eax, ecx
movaps xmmword [esp + 0xd0], xmm1
mov dword [esp + 0x118], eax
psrldq xmm1, 8
movaps xmmword [esp + 0x130], xmm0
movaps xmm0, xmmword [esp + 0x80]
movd eax, xmm1
push 1
movaps xmmword [esp + 0xc4], xmm0
movaps xmm0, xmmword [esp + 0xa4]
add eax, ecx
push edx
lea ecx, [esp + 0xc8]
movaps xmmword [esp + 0xe8], xmm0
movaps xmm0, xmmword [esp + 0xb8]
push ecx
mov dword [esp + 0xe4], eax
lea ecx, [esp + 0x10c]
mov eax, dword [edi]
push ecx
movaps xmmword [esp + 0x100], xmm0
mov ecx, edi
mov byte [esp + 0x144], 0
mov dword [esp + 0x138], 0
mov byte [esp + 0x104], 0
mov dword [esp + 0xf8], 0
call dword [eax + 0x10]
mov edx, dword [esp + 0x20]
add edx, dword [esp + 0x24]
sub esi, dword [esp + 0x24]
je 0x1024679a
movaps xmm0, xmmword [esp + 0x40]
lea ecx, [esp + 0x100]
mov eax, dword [edi]
movaps xmmword [esp + 0xc0], xmm0
movaps xmm0, xmmword [esp + 0x50]
movaps xmmword [esp + 0xd0], xmm0
movaps xmm0, xmmword [esp + 0x60]
movaps xmmword [esp + 0xe0], xmm0
movaps xmm0, xmmword [esp + 0x70]
movaps xmmword [esp + 0xf0], xmm0
movaps xmm0, xmmword [esp + 0x80]
push esi
push dword [esp + 0x1c]
movaps xmmword [esp + 0x108], xmm0
movaps xmm0, xmmword [esp + 0x98]
movaps xmmword [esp + 0x118], xmm0
movaps xmm0, xmmword [esp + 0xa8]
push ecx
movaps xmmword [esp + 0x12c], xmm0
lea ecx, [esp + 0xcc]
movaps xmm0, xmmword [esp + 0xbc]
push ecx
mov ecx, edi
movaps xmmword [esp + 0x140], xmm0
mov dword [esp + 0xf0], edx
mov dword [esp + 0x130], edx
call dword [eax + 0x10]
jmp 0x1024679a
mov edx, dword [esp + 0x20]
jmp 0x102465c1
mov eax, dword [edx]
lea ecx, [esp + 0x80]
push esi
push dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edx
call dword [eax + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x162c]
shr eax, 7
test al, 1
je 0x10246a11
test dword [esp + 0x64], 0x800000
jne 0x10246a11
mov eax, dword [ecx + 0x7a68]
mov esi, dword [edi + 4]
mov edx, dword [esp + 0xa4]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x30], eax
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0xb4c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], edx
test dword [eax + 0x140], 0x40000
je 0x10246a11
mov eax, dword [eax + 0x15bc]
mov dword [esp + 0x28], eax
test eax, eax
je 0x10246a11
test edi, edi
je 0x10246a11
mov eax, dword [edi + 0xa0]
mov ecx, eax
and ecx, 0x30
cmp ecx, 0x10
je 0x10246833
and al, 0xc
cmp al, 4
jne 0x10246a11
test edx, edx
je 0x10246949
cmp ecx, 0x10
jne 0x10246949
cmp dword [esp + 0x28], 2
je 0x10246949
test edx, 0x800000
jne 0x10246949
mov eax, dword [esi + 0xb50]
mov ecx, dword [esp + 0x1c]
push 1
mov dword [esp + 0x18], esi
mov dword [esi + eax*4 + 0xb54], ecx
lea ecx, [esp + 0x18]
inc dword [esi + 0xb50]
call fcn.1001e7f0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push esi
push 0
mov dword [ecx + 0xb4c], edx
mov ecx, dword [ecx + edx*4 + 0x74c]
or ecx, 0x1000
shl ecx, 4
mov dword [eax], ecx
lea ecx, [eax + 4]
mov eax, dword [esp + 0x1c]
push 0
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x3c]
push dword [edi + 0x74]
push 0
mov eax, dword [ecx]
push edi
push 1
mov eax, dword [eax + 0x134]
call eax
dec dword [esi + 0xb50]
mov ecx, dword [esi + 0xb50]
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], esi
push 1
mov eax, dword [esi + ecx*4 + 0xb54]
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], eax
cmp eax, 0xffffffff
jne 0x1024690b
call fcn.1001e7f0
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0xb4c], 0xffffffff
mov dword [eax], 0x1fff0
jmp 0x10246930
call fcn.1001e7f0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov dword [ecx + 0xb4c], edx
mov ecx, dword [ecx + edx*4 + 0x74c]
or ecx, 0x1000
shl ecx, 4
mov dword [eax], ecx
cmp dword [esp + 0x34], 0
lea ecx, [eax + 4]
mov eax, dword [esp + 0x14]
mov dword [eax + 0x20], ecx
jne 0x10246a11
mov edx, dword [esp + 0x3c]
mov eax, dword [edi + 0xa0]
and al, 0xc
cmp al, 4
jne 0x10246a11
mov ecx, dword [esp + 0x1c]
push esi
push ecx
mov ecx, dword [esp + 0x38]
push edx
push edi
call fcn.100b9e70
jmp 0x10246a11
mov ecx, dword [edx]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov eax, ecx
imul eax, dword [esp + 0x20]
push esi
push dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x4c], 0
add eax, dword [esp + 0x2c]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x54], 0
push eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov ecx, dword [eax + 0x88]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov byte [esp + 0x84], 0
mov dword [esp + 0x88], 0x42
mov dword [esp + 0x8c], 0xef
mov ecx, dword [ecx + 0x628]
call fcn.10060910
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
mov ecx, dword [eax + 0x11d8]
cmp dword [eax + 0x11d4], ecx
je 0x10246a2b
mov dword [eax + 0x11d4], ecx
mov ecx, dword [edx + 0x88]
push 1
push 1
mov ecx, dword [ecx + 0x5e0]
call fcn.101e43f0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x14