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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x178
mov eax, dword [0x11ad127c]
xor eax, esp
mov dword [esp + 0x174], eax
cmp dword [0x11d0c744], 0
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x1c]
push edi
mov edi, dword [ecx]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], eax
je 0x1020e2ec
cmp dword [edi + 4], 0x58544e43
jne 0x1020e2ec
mov eax, dword fs:[0x2c]
mov ecx, dword [0x11d0c5b8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edi]
mov dword [ecx + 0x10], eax
mov dword [edi + 8], 0
jmp 0x1020e2ee
xor edi, edi
xor ecx, ecx
xor esi, esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x50], esi
test edx, edx
je 0x1020e34c
cmp dword [edx], 0x73655243
jne 0x1020e346
mov eax, dword [edx + 0x18]
mov ecx, dword [esp + 0x24]
shr eax, 4
cmp ecx, eax
jae 0x1020e346
cmp dword [edx + 0x14], esi
je 0x1020e346
mov eax, dword [edx + 0x14]
mov edx, dword [eax + ecx*4]
mov eax, dword [edx + 0x10]
add eax, eax
sar eax, 0x1c
cmp eax, 1
je 0x1020e33b
test eax, eax
je 0x1020e33b
xor al, al
xor ecx, ecx
test al, al
cmovne ecx, edx
jmp 0x1020e348
mov al, 1
xor ecx, ecx
test al, al
cmovne ecx, edx
jmp 0x1020e348
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x30]
test edx, edx
je 0x1020e3a3
cmp dword [edx], 0x73655243
jne 0x1020e39d
mov eax, dword [edx + 0x18]
mov esi, dword [esp + 0x40]
shr eax, 4
cmp esi, eax
jae 0x1020e39d
cmp dword [edx + 0x14], 0
je 0x1020e39d
mov eax, dword [edx + 0x14]
mov edx, dword [eax + esi*4]
mov eax, dword [edx + 0x10]
add eax, eax
sar eax, 0x1c
cmp eax, 1
je 0x1020e392
test eax, eax
je 0x1020e392
xor al, al
xor esi, esi
test al, al
cmovne esi, edx
jmp 0x1020e39f
mov al, 1
xor esi, esi
test al, al
cmovne esi, edx
jmp 0x1020e39f
xor esi, esi
mov dword [esp + 0x50], esi
test ecx, ecx
je 0x1020f325
test esi, esi
je 0x1020f325
push 0
push 0
push 0
push 1
push 1
call fcn.1009c650
mov eax, dword [esp + 0xc]
mov ecx, esi
push 0
push 0
push 0
mov eax, dword [eax + 0x20c]
push 1
push 1
mov dword [esp + 0x30], eax
call fcn.1009c650
mov edx, dword [esp + 0x1c]
mov esi, dword [esi + 0x20c]
mov dword [esp + 0x44], esi
test edx, edx
je 0x1020f325
test esi, esi
je 0x1020f325
cmp byte [ebp + 0x20], 0
mov eax, dword [0x11d0c5b8]
mov ecx, dword fs:[0x2c]
je 0x1020e4c3
mov eax, dword [ecx + eax*4]
xorps xmm0, xmm0
movlpd qword [esp + 0x124], xmm0
movlpd qword [esp + 0x12c], xmm0
movlpd qword [esp + 0x134], xmm0
mov eax, dword [eax + 0x10]
add eax, 0xec34
movlpd qword [esp + 0x13c], xmm0
mov dword [esp + 0x120], eax
mov eax, dword [esi + 0x18c]
movlpd qword [esp + 0x144], xmm0
movlpd qword [esp + 0x14c], xmm0
movlpd qword [esp + 0x154], xmm0
movlpd qword [esp + 0x15c], xmm0
mov ecx, dword [eax + 8]
mov eax, dword [edx + 0x18c]
mov edx, dword [eax + 8]
lea eax, [ecx + 8]
neg ecx
sbb ecx, ecx
and ecx, eax
lea eax, [edx + 8]
neg edx
push ecx
sbb edx, edx
lea ecx, [esp + 0x124]
and edx, eax
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10101360
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x3c], ecx
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 0xf7d8]
test byte [eax + 0x320], 2
je 0x1020e520
cmp dword [edi + 0x12dc], 0
jne 0x1020e520
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 0x162c]
shr eax, 0xf
test al, 1
jne 0x1020e520
mov ecx, edi
call fcn.101fc5c0
cmp dword [edi + 0x12dc], 0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
je 0x1020e524
mov byte [eax + 0x5731], 1
jmp 0x1020e524
mov eax, dword [esp + 0x4c]
cmp byte [eax + 0x5731], 0
je 0x1020efd7
mov eax, dword [ecx + 0x10]
push 1
push 1
mov ecx, dword [eax + 0x7a68]
mov ecx, dword [ecx + 8]
call fcn.101e43f0
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 0xf7d8]
test byte [eax + 0x320], 2
je 0x1020e5a3
mov ecx, dword [esi + 0x18c]
push 1
push dword [ebp + 0xc]
call fcn.1004ea50
mov esi, eax
mov ecx, edi
push esi
push dword [ebp + 0xc]
push dword [edi + 0x11d8]
call fcn.101d2e10
push 1
lea eax, [esp + 0x28]
mov dword [esp + 0x28], esi
mov esi, dword [ebp + 8]
mov ecx, edi
push eax
push esi
push dword [edi + 0x12dc]
call fcn.101d3000
jmp 0x1020e5a6
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
push 1
push esi
mov ecx, dword [ecx + 0x18c]
call fcn.1004ea50
push eax
push esi
push dword [edi + 0x11d8]
mov ecx, edi
mov dword [esp + 0x30], eax
call fcn.101d2d90
mov eax, dword [esp + 0x24]
mov ecx, edi
push 1
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
push esi
push dword [edi + 0x12dc]
call fcn.101d3000
push 1
push dword [edi + 0x12dc]
mov ecx, edi
call fcn.101cbde0
mov ecx, dword [edi + 0x12dc]
push 1
mov ecx, dword [ecx + 0x5e0]
call fcn.101e4a10
mov eax, dword [edi + 0x12dc]
mov esi, 1
mov edx, dword [eax + 0x5e0]
mov ecx, dword [edx + 0xb50]
mov eax, dword [edx + 0xb4c]
mov dword [edx + ecx*4 + 0xb54], eax
mov eax, esi
inc dword [edx + 0xb50]
mov ecx, dword [ebp + 8]
shl eax, cl
mov ecx, dword [edi + 0x12dc]
push eax
mov ecx, dword [ecx + 0x5e0]
call fcn.10096c10
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x12dc]
mov ecx, dword [eax + 0x628]
mov eax, dword [ebp + 8]
mov dword [esp + 0x28], ecx
cmp eax, dword [ebp + 0xc]
je 0x1020e690
mov edx, eax
mov eax, dword [ebp + 0xc]
and edx, 0xf
shl eax, 4
or edx, eax
shl edx, 0x18
or edx, 0xadcdc
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x1c]
jmp 0x1020e696
xor eax, eax
mov dword [esp + 0x50], eax
test ecx, ecx
je 0x1020ef16
movzx eax, byte [edx + 0x61]
imul eax, dword [edx + 0xc]
cmp dword [edx + 0xc], 0
mov dword [esp + 0xc], eax
jle 0x1020ef16
cmp dword [esp + 0x18], 0
jle 0x1020ef16
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x58], ecx
mov eax, dword [ecx + 8]
cmp eax, 0xb
je 0x1020e6e8
cmp eax, 0xc
je 0x1020e6e8
mov al, byte [ecx + 0x604]
shr al, 5
mov byte [esp + 0xb], 0
and al, 1
jmp 0x1020e715
mov al, byte [ecx + 0x604]
shr al, 5
and al, 1
mov byte [esp + 0xb], 1
mov byte [esp + 0x14], al
je 0x1020e719
push 0
call fcn.101d4170
mov al, byte [esp + 0xb]
mov edx, dword [esp + 0x1c]
mov byte [esp + 0xb], al
mov al, byte [esp + 0x14]
mov byte [esp + 0x14], al
movzx eax, byte [edx + 0x61]
mov dword [esp + 0x54], eax
mov eax, dword [edx + 0x18c]
movq xmm0, qword [edx + 0x24]
mov ecx, dword [eax + 8]
mov dword [esp + 0xac], esi
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea eax, [ecx + 8]
mov dword [esp + 0xbc], 0
neg ecx
movq qword [esp + 0xc8], xmm0
mov byte [esp + 0xd4], 1
sbb ecx, ecx
mov dword [esp + 0xd8], 0x42
and ecx, eax
mov dword [esp + 0xdc], 0xef
mov eax, dword [edx + 0xc]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x54]
imul eax, ecx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xa4], eax
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0xa8], eax
xor eax, eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x2c]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 0x18c]
movzx ecx, byte [eax + 0x61]
mov dword [esp + 0x5c], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea eax, [ecx + 8]
mov dword [esp + 0x70], 0
neg ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
sbb ecx, ecx
mov dword [esp + 0x7c], 0
and ecx, eax
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x60], ecx
mov byte [esp + 0x94], 0
mov dword [esp + 0x98], 0x42
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x9c], 0xef
mov ecx, dword [edx + 8]
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x1020e91b
test byte [ecx + 0xb8], 0x20
je 0x1020e91b
movq xmm0, qword [eax + 0x24]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x2c]
imul edx, dword [esp + 0x54]
push 0
push 0
sub esp, 0xc
mov ecx, esp
push dword [esp + 0x70]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [esp + 0x138]
mov eax, dword [esp + 0x5c]
push dword [eax + 0x10]
mov eax, dword [esp + 0x64]
push edx
add eax, 8
push eax
call fcn.101fd1e0
mov cl, byte [esp + 0x14]
mov byte [esp + 0x14], cl
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x60], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esp + 0x80], xmm0
movups xmm0, xmmword [eax + 0x30]
mov al, byte [esp + 0xb]
mov byte [esp + 0xb], al
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
movups xmmword [esp + 0x90], xmm0
jmp 0x1020e91f
mov cl, byte [esp + 0x14]
mov edx, dword [esp + 0xb8]
mov byte [esp + 0x13], cl
mov cl, byte [esp + 0xb]
mov byte [esp + 0x23], cl
mov ecx, dword [esp + 0x1c]
add edx, dword [ecx + 0x188]
mov ecx, dword [esp + 0x78]
add ecx, dword [eax + 0x188]
mov eax, dword [esp + 0x50]
mov dword [esp + 0xb8], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0xc4], eax
cmp dword [edx + 4], 0
je 0x1020ee95
cmp byte [edx + 0x10], 0
je 0x1020ec8c
cmp byte [esp + 0xd4], 0
je 0x1020ec8c
cmp byte [esp + 0x94], 0
je 0x1020ec8c
cmp dword [esp + 0xbc], 0
jne 0x1020ec8c
cmp dword [esp + 0x7c], 0
jne 0x1020ec8c
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x40]
jne 0x1020ec8c
cmp eax, dword [esp + 0x64]
jne 0x1020ec8c
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x80]
jne 0x1020ec8c
cmp dword [esp + 0xac], esi
jne 0x1020ec8c
cmp dword [esp + 0x6c], esi
jne 0x1020ec8c
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0xc8], ecx
jne 0x1020ec8c
mov ecx, dword [esp + 0xcc]
cmp ecx, dword [esp + 0x8c]
jne 0x1020ec8c
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x1c], esi
shl dword [esp + 0x1c], cl
mov ecx, dword [esp + 0x1c]
imul ecx, dword [edx + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xcc]
shl esi, cl
imul esi, dword [edx + 0xc]
xor edx, edx
div esi
mov eax, esi
sub eax, edx
xor edx, edx
div esi
mov ecx, edx
mov edx, dword [esp + 0x18]
cmp ecx, edx
cmovae ecx, edx
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x1020eaa9
mov edx, dword [esp + 0x28]
push ecx
push dword [esp + 0x10]
lea ecx, [esp + 0x68]
mov eax, dword [edx]
push ecx
lea ecx, [esp + 0xac]
push ecx
mov ecx, edx
call dword [eax + 0x10]
mov eax, dword [esp + 0x2c]
mov cl, byte [esp + 0x23]
mov edx, dword [esp + 0x18]
add eax, dword [esp + 0x48]
sub edx, dword [esp + 0x48]
mov byte [esp + 0xb], cl
mov cl, byte [esp + 0x13]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], edx
mov byte [esp + 0x14], cl
je 0x1020ecb8
jmp 0x1020eaad
mov eax, dword [esp + 0x2c]
neg esi
and esi, edx
je 0x1020ebd2
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
dec edx
movaps xmm2, xmmword [esp + 0xb0]
add edx, ecx
movaps xmm1, xmmword [esp + 0x70]
neg ecx
movaps xmm0, xmmword [esp + 0xa0]
and edx, ecx
mov ecx, edx
movaps xmmword [esp + 0x130], xmm2
imul ecx, dword [esp + 0x2c]
psrldq xmm2, 8
movd eax, xmm2
movaps xmmword [esp + 0x120], xmm0
movaps xmm0, xmmword [esp + 0xc0]
add eax, ecx
movaps xmmword [esp + 0xf0], xmm1
movaps xmmword [esp + 0x140], xmm0
movaps xmm0, xmmword [esp + 0xd0]
mov dword [esp + 0x138], eax
psrldq xmm1, 8
imul edx, esi
movd eax, xmm1
movaps xmmword [esp + 0x150], xmm0
movaps xmm0, xmmword [esp + 0x60]
add eax, ecx
movaps xmmword [esp + 0xe0], xmm0
mov ecx, dword [esp + 0x28]
movaps xmm0, xmmword [esp + 0x80]
push 1
push edx
lea edx, [esp + 0xe8]
movaps xmmword [esp + 0x108], xmm0
movaps xmm0, xmmword [esp + 0x98]
mov dword [esp + 0x100], eax
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x12c]
movaps xmmword [esp + 0x11c], xmm0
push edx
mov byte [esp + 0x164], 0
mov dword [esp + 0x158], 0
mov byte [esp + 0x124], 0
mov dword [esp + 0x118], 0
call dword [eax + 0x10]
mov cl, byte [esp + 0x23]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
add eax, esi
mov byte [esp + 0xb], cl
mov cl, byte [esp + 0x13]
mov byte [esp + 0x14], cl
sub edx, esi
je 0x1020ecb8
movaps xmm0, xmmword [esp + 0xa0]
lea ecx, [esp + 0x120]
mov esi, dword [esp + 0x28]
movaps xmmword [esp + 0xe0], xmm0
movaps xmm0, xmmword [esp + 0xb0]
movaps xmmword [esp + 0xf0], xmm0
movaps xmm0, xmmword [esp + 0xc0]
movaps xmmword [esp + 0x100], xmm0
movaps xmm0, xmmword [esp + 0xd0]
movaps xmmword [esp + 0x110], xmm0
movaps xmm0, xmmword [esp + 0x60]
movaps xmmword [esp + 0x120], xmm0
movaps xmm0, xmmword [esp + 0x70]
push edx
push dword [esp + 0x10]
movaps xmmword [esp + 0x138], xmm0
movaps xmm0, xmmword [esp + 0x88]
movaps xmmword [esp + 0x148], xmm0
movaps xmm0, xmmword [esp + 0x98]
push ecx
mov dword [esp + 0x10c], eax
lea ecx, [esp + 0xec]
mov dword [esp + 0x14c], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
movaps xmmword [esp + 0x160], xmm0
call dword [eax + 0x10]
mov al, byte [esp + 0x23]
mov byte [esp + 0xb], al
mov al, byte [esp + 0x13]
mov byte [esp + 0x14], al
jmp 0x1020ecbc
push dword [esp + 0x18]
mov eax, dword [edx]
lea ecx, [esp + 0x64]
push dword [esp + 0x10]
push ecx
lea ecx, [esp + 0xac]
push ecx
mov ecx, edx
call dword [eax + 0x10]
mov dl, byte [esp + 0xb]
mov cl, byte [esp + 0x14]
mov byte [esp + 0xb], dl
mov byte [esp + 0x14], cl
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx + 0x162c]
shr eax, 7
test al, 1
je 0x1020ee95
test dword [esp + 0xc4], 0x800000
jne 0x1020ee95
mov eax, dword [ecx + 0x7a68]
mov esi, dword [esi + 4]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x54], eax
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0xb4c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x60]
test dword [eax + 0x140], 0x40000
mov dword [esp + 0x40], edx
mov dword [esp + 0x30], ecx
je 0x1020ee95
mov eax, dword [eax + 0x15bc]
mov dword [esp + 0x48], eax
test eax, eax
je 0x1020ee95
test ecx, ecx
je 0x1020ee95
mov eax, dword [ecx + 0xa0]
mov edx, eax
and edx, 0x30
cmp edx, 0x10
je 0x1020ed59
and al, 0xc
cmp al, 4
jne 0x1020ee95
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1020ee74
cmp edx, 0x10
jne 0x1020ee74
cmp dword [esp + 0x48], 2
je 0x1020ee74
test eax, 0x800000
jne 0x1020ee74
mov eax, dword [esi + 0xb50]
lea ecx, [esp + 0xc]
mov edx, dword [esp + 0x18]
push 1
mov dword [esp + 0x10], esi
mov dword [esi + eax*4 + 0xb54], edx
inc dword [esi + 0xb50]
call fcn.1001e7f0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
push esi
push 0
mov dword [ecx + 0xb4c], edx
mov ecx, dword [ecx + edx*4 + 0x74c]
mov edx, dword [esp + 0x5c]
or ecx, 0x1000
shl ecx, 4
mov dword [eax], ecx
lea ecx, [eax + 4]
mov eax, dword [esp + 0x14]
push 0
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx]
push dword [ecx + 0x74]
mov eax, dword [eax + 0x134]
push 0
push ecx
push 1
mov ecx, edx
call eax
dec dword [esi + 0xb50]
mov ecx, dword [esi + 0xb50]
mov dword [esp + 0x5c], eax
mov dword [esp + 0xc], esi
push 1
mov eax, dword [esi + ecx*4 + 0xb54]
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], eax
cmp eax, 0xffffffff
jne 0x1020ee3a
call fcn.1001e7f0
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0xb4c], 0xffffffff
mov dword [eax], 0x1fff0
jmp 0x1020ee5f
call fcn.1001e7f0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x48]
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 + 0x5c], 0
lea ecx, [eax + 4]
mov eax, dword [esp + 0xc]
mov dword [eax + 0x20], ecx
jne 0x1020ee95
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0xa0]
and al, 0xc
cmp al, 4
jne 0x1020ee95
mov edx, dword [esp + 0x18]
push esi
push edx
mov edx, dword [esp + 0x48]
push edx
push ecx
mov ecx, dword [esp + 0x64]
call fcn.100b9e70
mov esi, dword [esp + 0x44]
mov eax, dword [esi + 0x18c]
mov dword [esp + 0x48], eax
cmp dword [eax + 0x20e], 1
jne 0x1020eebd
test byte [esi + 0x72], 2
jne 0x1020eebd
test byte [esi + 0x6f], 0x10
mov byte [esp + 0x13], 0
je 0x1020eec2
mov byte [esp + 0x13], 1
mov esi, dword [esp + 0x58]
mov ecx, esi
call fcn.101c27b0
test byte [esp + 0x13], al
je 0x1020eefd
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [edx + 4]
mov ecx, dword [ecx + 8]
push dword [eax + 0xb4c]
lea eax, [ecx + 8]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, esi
call fcn.101d3420
cmp byte [esp + 0xb], 0
je 0x1020ef16
cmp byte [esp + 0x14], 0
je 0x1020ef16
push dword [esp + 0x14]
mov ecx, esi
call fcn.101d4170
mov ecx, dword [edi + 0x12dc]
mov ecx, dword [ecx + 0x5e0]
call fcn.1002c2c0
push 1
push 0
mov ecx, edi
call fcn.101cbde0
mov ecx, dword [edi + 0x12dc]
push 1
push 1
mov ecx, dword [ecx + 0x5e0]
call fcn.101e43f0
push dword [esp + 0x24]
mov esi, dword [ebp + 8]
mov ecx, edi
push esi
push dword [edi + 0x12dc]
call fcn.101d2d90
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 0xf7d8]
test byte [eax + 0x320], 2
mov eax, dword [esp + 0x44]
je 0x1020efc6
mov ecx, dword [eax + 0x18c]
add eax, 0x18c
push 1
push esi
mov dword [esp + 0x20], eax
call fcn.1004ea50
mov esi, eax
mov ecx, edi
push esi
push dword [ebp + 8]
push dword [edi + 0x12dc]
call fcn.101d2d90
push 1
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], esi
push eax
push dword [ebp + 0xc]
mov ecx, edi
push dword [edi + 0x11d8]
call fcn.101d3000
mov esi, dword [ebp + 0xc]
jmp 0x1020f2cc
mov esi, dword [ebp + 0xc]
add eax, 0x18c
mov dword [esp + 0x18], eax
jmp 0x1020f2cc
mov eax, dword [edx + 0x18c]
mov edx, dword [eax + 8]
lea eax, [edx + 8]
neg edx
sbb edx, edx
and edx, eax
lea eax, [esi + 0x18c]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
mov dword [esp + 0x28], edx
mov esi, dword [edx + 0xb8]
mov dword [esp + 0x14], esi
mov ecx, dword [eax + 8]
lea eax, [ecx + 8]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [edx + 0xbc]
mov dword [esp + 0x40], eax
add edx, 0x74
mov eax, esi
mov dword [esp + 0x2c], ecx
or eax, dword [esp + 0x40]
mov dword [esp + 0xc], edx
je 0x1020f032
mov dword [esp + 0x24], esi
jmp 0x1020f03c
mov eax, dword [edx]
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], edx
mov eax, dword [ecx + 0xb8]
or eax, dword [ecx + 0xbc]
je 0x1020f056
mov eax, dword [ecx + 0xb8]
mov dword [esp + 0x30], eax
jmp 0x1020f063
mov eax, dword [ecx + 0x74]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0xb8]
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
jae 0x1020f081
mov eax, esi
or eax, dword [esp + 0x40]
jne 0x1020f098
mov esi, dword [edx]
mov dword [esp + 0x14], esi
jmp 0x1020f098
or eax, dword [ecx + 0xbc]
je 0x1020f091
mov eax, dword [ecx + 0xb8]
jmp 0x1020f094
mov eax, dword [ecx + 0x74]
mov dword [esp + 0x14], eax
call fcn.10060bd0
test al, al
je 0x1020f211
mov eax, dword [esp + 0x3c]
push 1
mov esi, dword [eax + 0x10]
mov ecx, esi
call fcn.1002c4c0
test al, al
jne 0x1020f211
mov ecx, dword [esi + 0x7a68]
xor dl, dl
push 1
mov dword [esp + 0x10], edx
mov ecx, dword [ecx + 8]
call fcn.101e4a10
mov esi, dword [ebp + 8]
mov eax, 1
mov ecx, esi
shl eax, cl
push eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x7a68]
mov ecx, dword [ecx + 8]
call fcn.10096c10
mov eax, dword [ebp + 0xc]
and esi, 0xf
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
shl eax, 4
or esi, eax
mov eax, dword [esp + 0x14]
shl esi, 0x18
or esi, 0xadcdc
push esi
push eax
mov eax, dword [esp + 0x4c]
push dword [eax + 0x188]
push dword [ecx + 0x188]
mov ecx, dword [esp + 0x38]
call fcn.1005d7e0
mov esi, dword [esp + 0x50]
mov eax, dword [esi + 8]
cmp dword [eax + 0x1700], 0
je 0x1020f179
mov eax, dword [esp + 0x3c]
push 1
push 1
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x7a68]
mov ecx, dword [eax + 8]
call fcn.101e43f0
mov ecx, dword [esp + 0xc]
test eax, eax
movzx ecx, cl
mov eax, 1
cmovns ecx, eax
mov dword [esp + 0xc], ecx
jmp 0x1020f17d
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 8]
mov esi, dword [esp + 0x3c]
cmp dword [eax + 0x1704], 0
je 0x1020f1b6
mov eax, dword [esi + 0x10]
push 1
push 1
mov eax, dword [eax + 0x7a68]
mov ecx, dword [eax + 8]
call fcn.101e43f0
mov edx, dword [esp + 0xc]
test eax, eax
movzx ecx, dl
mov eax, 1
cmovns ecx, eax
mov eax, dword [esp + 0x4c]
cmp byte [eax + 0xe8c], 0
je 0x1020f1df
test cl, cl
jne 0x1020f1df
mov eax, dword [esi + 0x10]
push 1
push 1
mov ecx, dword [eax + 0x7a68]
mov ecx, dword [ecx + 8]
call fcn.101e43f0
mov eax, dword [esi + 0x10]
push 1
mov ecx, dword [eax + 0x7a68]
mov ecx, dword [ecx + 8]
call fcn.101e4a10
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x7a68]
mov ecx, dword [ecx + 8]
call fcn.10096c50
mov esi, dword [ebp + 0xc]
jmp 0x1020f2cc
push ecx
lea ecx, [esp + 0x124]
call fcn.10101320
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
test byte [eax + 0xa8], 0x10
je 0x1020f29e
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
cmp dword [eax + 0x20e], 2
jne 0x1020f29e
mov eax, dword [edx + 0x74]
mov esi, dword [ecx + 0xb8]
shr eax, 1
dec eax
and eax, 0xfff00000
add eax, 0x100000
mov dword [esp + 0x14], eax
mov eax, esi
or eax, dword [ecx + 0xbc]
je 0x1020f270
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0xc]
jmp 0x1020f27a
mov esi, dword [esp + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x24], eax
jae 0x1020f2a2
mov eax, dword [ecx + 0xb8]
or eax, dword [ecx + 0xbc]
je 0x1020f29a
mov eax, dword [ecx + 0xb8]
jmp 0x1020f2a2
mov eax, dword [esi]
jmp 0x1020f2a2
mov eax, dword [esp + 0x14]
mov esi, dword [ebp + 0xc]
push eax
mov eax, dword [esp + 0x48]
push dword [eax + 0x188]
mov eax, dword [esp + 0x24]
push dword [eax + 0x188]
push edx
push ecx
push esi
push dword [ebp + 8]
lea ecx, [esp + 0x13c]
call fcn.10101440
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
cmp byte [ecx + 0x5731], 0
je 0x1020f2e5
mov ecx, dword [edi + 0x12dc]
jmp 0x1020f2eb
mov ecx, dword [edi + 0x11d8]
push 0
mov dword [esp + 0x28], ecx
mov ecx, dword [eax]
push esi
call fcn.1004ea50
mov esi, eax
mov ecx, edi
push esi
push dword [ebp + 8]
push dword [esp + 0x2c]
call fcn.101d2d90
push 1
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], esi
push eax
push dword [ebp + 0xc]
mov ecx, edi
push dword [edi + 0x11d8]
call fcn.101d3000
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
xor ecx, esp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0x1c