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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa8
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x10107959
dec eax
cmp eax, 5
ja case.default.0x10107859
jmp dword [eax*4 + 0x10108a58]
mov edx, dword [esi - 0xec]
cmp dword [esi - 0xe4], 0xfffffffe
sbb ecx, ecx
mov eax, dword [edx]
inc ecx
and eax, 1
xor ecx, eax
push ecx
push edx
push esi
call fcn.10109a80
add esp, 0xc
cmp dword [esi - 0xe4], 0xfffffffe
jb 0x101078b2
xor byte [esi + 0x79], 1
cmp dword [esi + 0xf8], 3
jne 0x101078b2
movzx eax, word [esi + 6]
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x1c]
movzx ecx, byte [eax + edx*4 - 4]
add ecx, dword [eax + edx*4 - 0xc]
mov eax, dword [esi + 0x20]
dec dword [eax + ecx*4 - 4]
mov ecx, esi
call fcn.1011fd10
cmp dword [esi - 0xe4], 0xfffffffe
jb case.default.0x10107859
mov eax, dword [esi + 0x50]
mov edi, dword [esi + 0x68]
mov ecx, dword [eax + 0x10]
xor eax, eax
test edi, edi
je case.default.0x10107859
mov edx, dword [esi + 0x60]
add ecx, 4
nop dword [eax + eax]
cmp dword [edx + eax*4], 0x2007ffd
jne 0x101078ee
cmp dword [ecx], 0xfffffffe
je 0x101078f8
inc eax
add ecx, 8
cmp eax, edi
jb 0x101078e0
jmp case.default.0x10107859
mov dword [edx + eax*4], 0x1007ffe
jmp case.default.0x10107859
mov eax, dword [esi + 0x50]
xor edi, edi
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x68], edi
jbe case.default.0x10107859
mov eax, dword [esi + 0x60]
cmp dword [eax + edi*4], 0x7fff
jne 0x10107938
cmp dword [ecx + 4], 0xffffffff
je 0x10107938
push ecx
push esi
call fcn.101071f0
mov ecx, dword [esi + 0x60]
add esp, 8
mov dword [ecx + edi*4], eax
mov ecx, dword [esp + 0x28]
inc edi
add ecx, 8
mov dword [esp + 0x28], ecx
cmp edi, dword [esi + 0x68]
jb 0x10107912
jmp case.default.0x10107859
mov eax, dword [esi + 0x54]
cmp byte [eax], 0x5d
jae 0x10107982
mov dword [esi + 0xf8], 0
cmp byte [esi + 0x71], 0
je 0x10107976
push esi
mov byte [esi + 0x71], 0
call fcn.10105190
push esi
call fcn.10105010
add esp, 8
mov byte [esi + 0x70], 1
mov al, byte [esi + 0x73]
test al, al
je 0x10107988
dec al
mov byte [esi + 0x73], al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0xa4], 0
mov ecx, dword [esi + 0x54]
mov dword [esp + 0x18], ecx
jne 0x101079ac
mov eax, ecx
sub eax, dword [esi + 0x8c]
cmp eax, dword [esi + 0x90]
jae 0x10108a1e
mov eax, dword [esi + 0x50]
mov edi, dword [eax + 0x10]
mov eax, dword [ecx]
movzx ecx, al
mov dword [esp + 0xc], eax
shr eax, 8
movzx edx, al
lea eax, [ecx*2 + 0x101316c8]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], eax
movzx eax, word [eax]
mov ecx, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], ecx
and al, 7
movzx ecx, cx
mov dword [esp + 8], edx
mov dword [esp + 0x60], 0
mov dword [esp + 0x2c], ecx
cmp al, 3
jne 0x10107a3c
mov eax, dword [edi + edx*8]
mov ecx, dword [edi + edx*8 + 4]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x60]
mov dword [esp + 0x44], ecx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10107a1a
mov edx, eax
mov eax, dword [esp + 0x10]
movzx eax, ax
jmp 0x10107a2d
push edx
push esi
call fcn.1010b760
mov edx, eax
add esp, 8
mov eax, dword [esp + 0x28]
movzx eax, word [eax]
movzx ecx, ax
mov dword [esp + 8], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0xc]
mov edx, eax
shr edx, 0x18
movzx ecx, cx
mov dword [esp + 0x10], edx
mov edx, ecx
shr eax, 0x10
test dl, 0x78
movzx edi, al
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc], edi
je 0x10107ac2
mov eax, ecx
and ecx, 0x78
cmp cl, 0x18
jne 0x10107ad2
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + edx*8]
mov ecx, dword [ecx + edx*8 + 4]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x60]
mov dword [esp + 0x34], ecx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10107aa2
mov ecx, dword [esp + 0x2c]
mov edx, eax
movzx eax, cx
mov dword [esp + 0x10], edx
mov dword [esp + 0x58], edx
movzx eax, ax
jmp 0x10107ad2
push edx
push esi
call fcn.1010b760
mov edx, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
add esp, 8
mov dword [esp + 0x58], edx
movzx eax, word [eax]
movzx eax, ax
jmp 0x10107ad2
mov edi, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov eax, ecx
shr eax, 7
and eax, 0xf
add eax, 0xfffffffd
cmp eax, 7
ja case.0x10107ae0.4
jmp dword [eax*4 + 0x10108a70]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + edi*8]
mov ecx, dword [ecx + edi*8 + 4]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x60]
mov dword [esp + 0x3c], ecx
mov eax, dword [eax + edi*4]
test eax, eax
jne 0x10107b0e
push edi
push esi
call fcn.1010b760
add esp, 8
mov edi, eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x5c], edi
jmp 0x10107b3a
mov eax, edi
imul edi, edi, 0xffffff
not eax
mov dword [esp + 0x3c], eax
add edi, 0x7fff
mov dword [esp + 0xc], edi
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
cmp edx, 0x5c
ja case.default.0x10107b4e
movzx eax, byte [edx + 0x10108b48]
jmp dword [eax*4 + 0x10108a90]
mov eax, dword [esi + 0x5c]
sub esp, 8
mov edx, dword [eax + 0x10]
mov eax, dword [edx + edi*8]
mov ecx, dword [edx + edi*8 + 4]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
movsd xmm0, qword [edx + edi*8]
movsd qword [esp], xmm0
push esi
call fcn.101029c0
mov edi, eax
add esp, 0xc
mov dword [esp + 0xc], edi
mov dword [esp + 0x5c], edi
jmp 0x10107b3a
mov eax, dword [esi + 0x5c]
not edi
push 4
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*4]
push eax
push esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0xfffffffb
call fcn.101027a0
mov edi, eax
add esp, 0xc
mov dword [esp + 0xc], edi
mov dword [esp + 0x5c], edi
jmp 0x10107b3a
mov ecx, dword [esp + 8]
mov eax, ecx
and eax, 0x1f000000
mov dword [esp + 0x14], eax
cmp eax, 0xa000000
je 0x10107e54
mov eax, edi
and eax, 0x1f000000
mov dword [esp + 0x20], eax
cmp eax, 0xa000000
je 0x10107e54
movzx eax, cx
mov edx, 0x8000
mov dword [esp + 0x2c], eax
movzx eax, di
mov dword [esp + 0x18], eax
mov eax, edi
or eax, ecx
cmp ax, dx
jae 0x10107c46
mov eax, ecx
shr eax, 0x18
and eax, 0x1f
sub eax, 0xe
cmp eax, 5
jbe 0x10107c24
cmp dword [esp + 0x14], 0x4000000
jne 0x10107c46
mov eax, edi
shr eax, 0x18
and eax, 0x1f
sub eax, 0xe
cmp eax, 5
jbe 0x101089d0
cmp dword [esp + 0x20], 0x4000000
je 0x101089d0
mov edx, ecx
mov dword [esp + 0x20], 0x13
shr edx, 0x18
and edx, 0x1f
lea eax, [edx - 0xf]
cmp eax, 4
mov eax, edi
cmovbe edx, dword [esp + 0x20]
shr eax, 0x18
and eax, 0x1f
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
add eax, 0xfffffff1
cmp eax, 4
mov eax, dword [esp + 0x14]
cmovbe eax, dword [esp + 0x20]
cmp edx, eax
je 0x10107d11
cmp edx, 0x13
jne 0x10107cba
cmp eax, 0xe
jne 0x101089d0
mov eax, dword [esp + 0x2c]
mov ecx, esi
mov dword [esi + 0x76], 0x550e01d3
mov word [esi + 0x74], ax
call fcn.1011fd10
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0xe
jmp 0x10107ce0
cmp edx, 0xe
jne 0x10107cf5
cmp eax, 0x13
jne 0x101089d0
mov eax, dword [esp + 0x18]
mov ecx, esi
mov dword [esi + 0x76], 0x550e01d3
mov word [esi + 0x74], ax
call fcn.1011fd10
mov edi, eax
push esi
call fcn.10109af0
mov eax, dword [esp + 0x20]
add esp, 4
mov ecx, eax
mov dword [esp + 0xc], ecx
jmp 0x10107d2d
cmp edx, 1
je 0x10107d03
cmp edx, 2
jne 0x101089d0
cmp eax, 1
je 0x10107d11
cmp eax, 2
jne 0x101089d0
push esi
call fcn.10109af0
mov eax, dword [esp + 0x20]
add esp, 4
mov edx, dword [esp + 0x10]
mov ecx, eax
mov dword [esp + 0xc], ecx
cmp edx, 0xe
jne 0x10107d75
test al, 1
je 0x10107d3a
mov ecx, eax
xor ecx, 4
mov dword [esp + 0xc], ecx
movsd xmm0, qword [esp + 0x38]
push ecx
sub esp, 0x10
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x54]
movsd qword [esp], xmm0
call fcn.10102c70
add esp, 0x14
test eax, eax
mov eax, dword [esp + 0xc]
jne 0x10107e01
xor eax, 5
mov dword [esp + 0xc], eax
jmp 0x10107e01
push eax
cmp edx, 0x13
jne 0x10107dae
movsd xmm0, qword [esp + 0x3c]
sub esp, 0x10
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x54]
movsd qword [esp], xmm0
call fcn.10102c70
add esp, 0x14
test eax, eax
jne 0x10107dfd
mov eax, dword [esp + 0x1c]
xor eax, 1
mov dword [esp + 0xc], eax
jmp 0x10107e01
cmp edx, 4
jne 0x10107e41
push dword [esp + 0x3c]
push dword [esp + 0x48]
call fcn.10102d80
add esp, 0xc
test eax, eax
jne 0x10107dd6
mov eax, dword [esp + 0x1c]
xor eax, 1
mov dword [esp + 0xc], eax
push edi
push dword [esp + 0xc]
push 0
push esi
call fcn.10102450
add esp, 0x10
mov dword [esp + 8], eax
xor edx, edx
mov ecx, esi
call fcn.101022f0
mov edi, eax
mov dword [esp + 0x10], 0x13
mov eax, dword [esp + 0xc]
shl eax, 8
mov ecx, esi
or eax, dword [esp + 0x10]
or eax, 0x80
mov word [esi + 0x76], di
mov word [esi + 0x78], ax
mov eax, dword [esp + 8]
mov word [esi + 0x74], ax
call fcn.1011fd10
mov eax, dword [esp + 0xc]
xor eax, dword [esp + 0x1c]
and eax, 1
push eax
push dword [esi + 0x54]
push esi
call fcn.10109a80
add esp, 0xc
jmp case.0x10107b4e.37
lea eax, [esp + 0x34]
push eax
push esi
call fcn.1010a9f0
add esp, 0xc
jmp case.0x10107b4e.37
mov eax, edx
and eax, 2
or eax, 0xc
shr eax, 1
push eax
push edx
lea eax, [esp + 0x38]
push eax
push esi
call fcn.1010ab50
add esp, 0x10
jmp case.0x10107b4e.37
mov ecx, dword [esp + 8]
mov eax, ecx
and eax, 0x1f000000
mov dword [esp + 0x20], eax
cmp eax, 0xa000000
je 0x1010803a
mov eax, edi
and eax, 0x1f000000
cmp eax, 0xa000000
je 0x1010803a
mov eax, edi
mov edx, 0x8000
or eax, ecx
cmp ax, dx
jae 0x10107ec3
mov eax, dword [esp + 0x20]
cmp eax, 0xb000000
je 0x10107ec3
cmp eax, 0xc000000
jne 0x101089d0
push esi
call fcn.10109af0
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x48]
push eax
push edi
push dword [esp + 0x18]
push esi
call fcn.10108e70
mov ecx, eax
add esp, 0x18
cmp ecx, 2
je 0x10108018
mov eax, dword [esp + 0x20]
cmp eax, 0xb000000
je 0x10107f02
cmp eax, 0xc000000
jne 0x10108018
cmp ecx, 1
jne case.0x10107b4e.37
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push 4
push eax
push esi
mov dword [esp + 0x40], ecx
call fcn.10108bb0
add esp, 0xc
test eax, eax
je case.0x10107b4e.37
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], eax
cmp edx, 0xfffffff4
jne 0x10107f72
mov eax, dword [ecx + 0x10]
cmp eax, dword [esp + 0x50]
jne 0x10107fb6
mov dword [esi + 0x76], 0x430b0003
jmp 0x10107f87
cmp edx, 0xfffffff3
jne 0x10107fb6
mov eax, dword [ecx + 0x10]
cmp eax, dword [esp + 0x50]
jne 0x10107fb6
mov dword [esi + 0x76], 0x430b0009
movzx eax, word [esp + 0x5c]
mov ecx, esi
mov word [esi + 0x74], ax
call fcn.1011fd10
mov ecx, 0x88b
mov word [esi + 0x74], ax
movzx eax, word [esp + 0x64]
mov word [esi + 0x78], cx
mov ecx, esi
mov word [esi + 0x76], ax
call fcn.1011fd10
jmp 0x10108001
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x30]
push 4
push eax
push esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
call fcn.10108bb0
add esp, 0xc
test eax, eax
je case.0x10107b4e.37
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x70]
push dword [esp + 0x20]
push esi
call fcn.10108e70
add esp, 0x14
test eax, eax
jne case.0x10107b4e.37
push dword [esp + 0x1c]
lea eax, [esp + 0x34]
push eax
push esi
call fcn.1010a940
add esp, 0xc
jmp case.0x10107b4e.37
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x1c]
setne al
and ecx, 1
xor eax, ecx
push eax
push dword [esi + 0x54]
push esi
call fcn.10109a80
add esp, 0xc
jmp case.0x10107b4e.37
push 4
push edx
lea eax, [esp + 0x38]
push eax
push esi
call fcn.1010ab50
add esp, 0x10
jmp case.0x10107b4e.37
mov eax, edi
mov ecx, 0x1000000
and eax, 0x1f000000
cmp ecx, eax
sbb eax, eax
and edx, 1
neg eax
xor ecx, ecx
cmp edx, eax
cmove edi, ecx
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + 5]
mov ecx, dword [esp + 8]
cmp eax, dword [esi + 0x68]
jae 0x101089d0
mov dword [esi + 0x68], eax
jmp 0x101089d0
and edi, 0x1f000000
mov eax, 0x1000000
cmp eax, edi
sbb edi, edi
and edi, 0xff000001
add edi, 0x2007ffd
jmp case.0x10107b4e.37
mov eax, edi
and eax, 0x1f000000
cmp eax, 0x4000000
jne 0x101080d0
mov ecx, esi
mov dword [esi + 0x76], 0x43130000
mov word [esi + 0x74], di
call fcn.1011fd10
mov edi, eax
jmp case.0x10107b4e.37
cmp eax, 0xb000000
jne 0x101080ea
push edi
push 8
push esi
call fcn.10102450
add esp, 0xc
mov edi, eax
jmp case.0x10107b4e.37
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x70]
push 5
push eax
push esi
mov dword [esp + 0xa4], edi
mov dword [esp + 0x80], ecx
call fcn.10108bb0
add esp, 0xc
test eax, eax
je 0x10108a26
push 0x10004a1b
push esi
call fcn.1010abb0
mov esi, dword [esi + 0x60]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], eax
lea edi, [eax*4]
mov eax, dword [esp + 0xb0]
add esi, edi
mov dword [esp + 0x1c], edi
mov ecx, dword [ecx + 0x50]
mov edi, dword [esp + 0x18]
push 2
mov edx, dword [ecx + 0x10]
mov ecx, dword [esp + 0x98]
mov dword [esi], eax
mov eax, dword [esp + 0x94]
mov dword [edx + edi*8], eax
mov eax, edi
mov dword [edx + eax*8 + 4], ecx
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [edx + edi*8 + 8], eax
mov eax, edi
push eax
mov dword [edx + eax*8 + 0xc], ecx
mov dword [esi + 8], 0x7fff
mov esi, dword [ebp + 8]
push esi
mov dword [edx + eax*8 + 0x14], 0xffffffff
call fcn.10109860
mov eax, dword [esp + 0x28]
add esp, 0x14
inc dword [esi + 0xa4]
add eax, 4
add dword [esi + 0x60], eax
mov eax, edi
inc eax
add dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
add eax, dword [esi + 0x6c]
cmp eax, 0xfa
jae 0x10108a46
xor edi, edi
jmp case.0x10107b4e.37
mov eax, edi
shr eax, 0x18
and eax, 0x1f
sub eax, 0xe
cmp eax, 5
jbe 0x10108216
mov eax, edi
and eax, 0x1f000000
cmp eax, 0x4000000
je 0x10108216
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push 0x10
push eax
push esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x40], ecx
call fcn.1010a850
add esp, 0xc
mov edi, eax
jmp case.0x10107b4e.37
lea eax, [esp + 0x38]
push eax
push edi
push esi
call fcn.10122110
add esp, 0xc
mov edi, eax
jmp case.0x10107b4e.37
cmp dword [esp + 0x1c], 0x1d
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x58], eax
mov eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x38], edx
mov edx, edi
mov dword [esp + 0x3c], esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
je 0x10108304
jmp 0x10108280
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
movzx edi, word [eax]
mov eax, edx
shr eax, 0x18
and eax, 0x1f
shr edi, 0xb
sub eax, 0xe
cmp eax, 5
jbe 0x101082a8
mov eax, edx
and eax, 0x1f000000
cmp eax, 0x4000000
jne 0x101082ca
mov ecx, dword [esp + 0xc]
mov eax, ecx
shr eax, 0x18
and eax, 0x1f
sub eax, 0xe
cmp eax, 5
jbe 0x101082e0
mov eax, ecx
and eax, 0x1f000000
cmp eax, 0x4000000
je 0x101082e0
push edi
lea eax, [esp + 0x34]
push eax
push esi
call fcn.1010a850
add esp, 0xc
mov edi, eax
jmp case.0x10107b4e.37
lea eax, [edi + 0x1e]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x38]
push eax
push ecx
push edx
push esi
call fcn.10121a90
add esp, 0x18
mov edi, eax
jmp case.0x10107b4e.37
mov edx, dword [esp + 0x10]
mov eax, edx
shr eax, 0x18
and eax, 0x1f
sub eax, 0xe
cmp eax, 5
jbe 0x10108322
mov eax, edx
and eax, 0x1f000000
cmp eax, 0x4000000
jne 0x10108344
mov ecx, dword [esp + 0xc]
mov eax, ecx
shr eax, 0x18
and eax, 0x1f
sub eax, 0xe
cmp eax, 5
jbe 0x1010835b
mov eax, ecx
and eax, 0x1f000000
cmp eax, 0x4000000
je 0x1010835b
push 0xe
lea eax, [esp + 0x34]
push eax
push esi
call fcn.1010a850
add esp, 0xc
mov edi, eax
jmp case.0x10107b4e.37
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x34]
push eax
push ecx
push edx
push esi
call fcn.10121ce0
add esp, 0x14
mov edi, eax
jmp case.0x10107b4e.37
mov ecx, dword [esp + 0x10]
mov eax, ecx
shr eax, 0x18
and eax, 0x1f
sub eax, 0xe
cmp eax, 5
jbe 0x10108399
mov eax, ecx
and eax, 0x1f000000
cmp eax, 0x4000000
jne 0x101083b7
mov eax, edi
shr eax, 0x18
and eax, 0x1f
sub eax, 0xe
cmp eax, 5
jbe 0x101083ce
mov eax, edi
and eax, 0x1f000000
cmp eax, 0x4000000
je 0x101083ce
push 0xf
lea eax, [esp + 0x34]
push eax
push esi
call fcn.1010a850
add esp, 0xc
mov edi, eax
jmp case.0x10107b4e.37
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x34]
push eax
push edi
push ecx
push esi
call fcn.10121e60
add esp, 0x14
mov edi, eax
jmp case.0x10107b4e.37
mov ecx, dword [esp + 8]
cmp ecx, dword [esi + 0x68]
jbe 0x101089d0
mov eax, dword [esi + 0x60]
mov dword [eax + ecx*4 - 4], 0
jmp 0x101089d0
movsx edx, di
mov ecx, esi
call fcn.101022f0
mov edi, eax
jmp case.0x10107b4e.37
mov ecx, dword [esp + 8]
cmp ecx, edi
ja 0x1010842f
mov eax, dword [esi + 0x60]
mov dword [eax + ecx*4], 0x7fff
inc ecx
cmp ecx, edi
jbe 0x10108420
cmp edi, dword [esi + 0x68]
jb 0x101089d0
lea eax, [edi + 1]
mov dword [esi + 0x68], eax
jmp 0x101089d0
mov eax, dword [esi + 0x5c]
not edi
push 0xa
mov eax, dword [eax + 0x10]
push dword [eax + edi*4]
push esi
call fcn.101027a0
add esp, 0xc
mov edi, eax
jmp case.0x10107b4e.37
push 0
push edi
push esi
call fcn.1010acf0
add esp, 0xc
mov edi, eax
jmp case.0x10107b4e.37
push edi
push dword [esp + 0xc]
push esi
call fcn.1010acf0
add esp, 0xc
jmp case.0x10107b4e.37
mov eax, dword [esi + 0x58]
push esi
mov eax, dword [eax + 8]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0xfffffff4
call fcn.10107170
add esp, 4
movzx eax, ax
mov ecx, esi
mov dword [esi + 0x76], 0x430b0001
mov word [esi + 0x74], ax
call fcn.1011fd10
mov dword [esp + 0x58], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x6c], 0x64
push eax
push esi
call fcn.10107270
add esp, 8
mov edi, eax
jmp case.0x10107b4e.37
movd xmm0, edi
mov edx, edi
cvtdq2pd xmm0, xmm0
mov ecx, esi
movsd qword [esp + 0x38], xmm0
call fcn.101022f0
mov dword [esp + 0x5c], eax
jmp case.0x10107b4e.54
mov eax, edi
mov ecx, 0x801
and eax, 0x7ff
shr edi, 0xb
cmp eax, 0x7ff
mov word [esi + 0x76], di
cmove eax, ecx
mov ecx, 0x4e8b
mov word [esi + 0x78], cx
mov ecx, esi
mov word [esi + 0x74], ax
call fcn.1011fd10
mov edi, eax
jmp case.0x10107b4e.37
mov eax, dword [esi + 0x5c]
not edi
push 0xb
mov eax, dword [eax + 0x10]
push dword [eax + edi*4]
push esi
call fcn.101027a0
add esp, 0xc
movzx eax, ax
mov ecx, esi
mov dword [esi + 0x76], 0x4f8b0000
mov word [esi + 0x74], ax
call fcn.1011fd10
mov edi, eax
jmp case.0x10107b4e.37
mov ecx, dword [esp + 8]
mov edx, dword [esi + 0x60]
lea edi, [ecx - 3]
mov eax, dword [edx + edi*4]
test eax, eax
jne 0x1010857e
push edi
push esi
call fcn.1010b760
mov edx, dword [esi + 0x60]
add esp, 8
mov ecx, dword [esp + 8]
mov dword [edx + ecx*4], eax
lea edi, [ecx - 2]
mov edx, dword [esi + 0x60]
mov eax, dword [edx + edi*4]
test eax, eax
jne 0x1010859f
push edi
push esi
call fcn.1010b760
mov edx, dword [esi + 0x60]
add esp, 8
mov ecx, dword [esp + 8]
mov dword [edx + ecx*4 + 4], eax
mov edx, dword [esi + 0x60]
mov eax, dword [edx + ecx*4 - 4]
test eax, eax
jne 0x101085c2
lea eax, [ecx - 1]
push eax
push esi
call fcn.1010b760
mov edx, dword [esi + 0x60]
add esp, 8
mov ecx, dword [esp + 8]
mov edi, dword [esp + 8]
mov dword [edx + ecx*4 + 8], eax
mov eax, dword [esi + 0x50]
mov edx, dword [eax + 0x10]
mov eax, dword [edx + ecx*8 - 0x18]
mov ecx, dword [edx + ecx*8 - 0x14]
mov dword [edx + edi*8], eax
mov eax, edi
mov dword [edx + eax*8 + 4], ecx
mov ecx, edi
mov eax, dword [edx + eax*8 - 0x10]
mov dword [edx + edi*8 + 8], eax
mov eax, edi
mov ecx, dword [edx + ecx*8 - 0xc]
mov dword [edx + eax*8 + 0xc], ecx
mov ecx, edi
mov eax, dword [edx + eax*8 - 8]
mov dword [edx + edi*8 + 0x10], eax
mov eax, edi
mov edi, dword [esp + 0xc]
mov ecx, dword [edx + ecx*8 - 4]
mov dword [edx + eax*8 + 0x14], ecx
lea eax, [edi - 1]
push eax
push dword [esp + 0xc]
push esi
call fcn.101071a0
add esp, 0xc
jmp case.0x10107b4e.37
mov eax, dword [esi + 0x50]
mov edi, dword [eax + 0x14]
sub edi, dword [eax + 0x10]
sar edi, 3
sub edi, dword [esp + 8]
jmp case.0x10107b4e.62
mov eax, dword [esi + 0x50]
mov ecx, dword [esp + 8]
mov edi, dword [eax + 0x14]
sub edi, dword [eax + 0x10]
sar edi, 3
sub edi, ecx
jmp 0x1010864d
mov ecx, dword [esp + 8]
lea eax, [edi - 1]
mov dword [esp + 0x20], ecx
push eax
push ecx
push esi
call fcn.10109860
mov eax, dword [esi + 0x50]
add esp, 0xc
mov eax, dword [eax + 0x10]
mov ecx, dword [eax - 4]
mov eax, ecx
and eax, 7
cmp al, 3
jne 0x10108698
sar ecx, 3
add dword [esi + 0xa4], 0xffffffff
js 0x10108a2e
sub dword [esi + 0x6c], ecx
mov eax, ecx
neg eax
shl eax, 2
add dword [esi + 0x60], eax
mov eax, dword [esp + 8]
add eax, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x60]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [esp + 0x24]
lea eax, [ecx + eax*4]
push eax
lea eax, [ecx - 4]
push eax
call sub.VCRUNTIME140.dll_memmove
inc dword [esi + 0xa0]
add esp, 0xc
mov eax, dword [esi + 0xa0]
cmp eax, dword [esi + 0x9c]
jg 0x10108a36
jmp case.0x10107b4e.37
mov eax, dword [esp + 0x10]
dec eax
push eax
push dword [esp + 0xc]
push esi
call fcn.1010b060
add esp, 0xc
jmp case.0x10107b4e.37
mov eax, dword [esi + 0x50]
mov edi, dword [eax + 0x14]
sub edi, dword [eax + 0x10]
sar edi, 3
sub edi, dword [esp + 8]
inc edi
lea eax, [edi - 1]
push eax
push dword [esp + 0xc]
push esi
call fcn.10108f60
add esp, 0xc
jmp case.0x10107b4e.37
mov ecx, dword [esp + 0x18]
push 0
push ecx
push esi
call fcn.10109b30
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
je 0x101089d0
mov eax, dword [esi + 8]
mov dword [esi + 0xe4], eax
jmp 0x101089d0
mov ecx, dword [esp + 0x18]
push 0
push ecx
push esi
call fcn.10109b30
add esp, 0xc
test eax, eax
je case.0x10107b4e.37
mov eax, dword [esp + 0x18]
movzx eax, word [eax + edi*4 - 0x1fffe]
push eax
push 1
push esi
call fcn.1010ac20
add esp, 0xc
jmp case.0x10107b4e.37
mov eax, dword [esp + 0x18]
push 1
lea eax, [eax + edi*4]
add eax, 0xfffe0000
push eax
push esi
call fcn.10109b30
push eax
push dword [esp + 0x28]
push esi
call fcn.1010a6d0
add esp, 0x18
jmp case.0x10107b4e.37
mov eax, dword [esp + 0x18]
push dword [eax]
push esi
call fcn.1010a650
push eax
push dword [esp + 0x24]
push esi
call fcn.1010a6d0
add esp, 0x14
jmp case.0x10107b4e.37
push 1
push dword [esp + 0xc]
push esi
call fcn.1010a6b0
push eax
push dword [esp + 0x28]
push esi
call fcn.1010a6d0
add esp, 0x18
jmp case.0x10107b4e.37
mov eax, dword [esi + 0x100]
mov ecx, dword [esp + 0x18]
add ecx, 0xfffe0000
push 1
mov eax, dword [eax + edi*4]
movzx eax, word [eax + 0x2e]
lea eax, [ecx + eax*4]
push eax
push esi
call fcn.10109b30
push eax
push edi
push esi
call fcn.1010a7e0
add esp, 0x18
jmp case.0x10107b4e.37
mov eax, dword [esi + 0x100]
mov eax, dword [eax + edi*4]
push dword [eax + 0x2c]
push esi
call fcn.1010a650
push eax
push edi
push esi
call fcn.1010a7e0
add esp, 0x14
jmp case.0x10107b4e.37
mov eax, dword [esi + 0x100]
mov eax, dword [eax + edi*4]
mov eax, dword [eax + 0x2c]
and eax, 0xff
cmp eax, 0x45
je 0x1010885c
cmp eax, 0x46
je 0x1010885c
cmp eax, 0x47
je 0x1010885c
cmp eax, 0x48
je 0x1010885c
mov eax, 1
jmp 0x1010885e
xor eax, eax
push eax
push dword [esp + 0xc]
push esi
call fcn.1010a6b0
push eax
push edi
push esi
call fcn.1010a7e0
add esp, 0x18
jmp case.0x10107b4e.37
mov ecx, dword [esp + 8]
cmp ecx, dword [esi + 0x68]
jae 0x101089d0
mov dword [esi + 0x68], ecx
jmp 0x101089d0
push esi
call fcn.1010a120
mov eax, dword [esi + 0x100]
add esp, 4
mov eax, dword [eax + edi*4]
mov dword [esp + 0x14], eax
cmp byte [eax + 0x4c], 7
jne 0x101088d3
push edi
push esi
call fcn.10106e80
mov ecx, dword [esi + 0x54]
add esp, 8
mov eax, dword [ecx]
mov dword [esi + 0x8e8], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x8e4], ecx
mov eax, dword [eax + 0x2c]
mov dword [ecx], eax
jmp case.0x10107b4e.37
mov eax, dword [esi + 0x54]
mov dword [esi + 0x98], 0
cmp eax, dword [esi + 0x8d8]
jne 0x1010890b
mov eax, dword [esi + 0xa8]
add eax, dword [esi + 0xa4]
jne 0x1010890b
movzx eax, word [esi + 0x40]
push eax
push 3
push esi
call fcn.1010ac20
add esp, 0xc
jmp case.0x10107b4e.37
push edi
push 1
push esi
call fcn.1010ac20
add esp, 0xc
jmp case.0x10107b4e.37
mov eax, dword [esi + 0x5c]
mov edx, dword [esi + 0x68]
mov dword [esp + 0x14], eax
inc edx
mov dword [esp + 0x2c], edx
movzx eax, byte [eax + 7]
add eax, edx
add eax, dword [esi + 0x6c]
cmp eax, 0xfa
jae 0x10108a46
mov ecx, dword [esi + 0x60]
shl edx, 2
mov dword [esp + 0x20], edx
mov eax, dword [ecx - 4]
mov dword [edx + ecx - 4], eax
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 6]
cmp ecx, dword [esi + 0x68]
cmovae ecx, dword [esi + 0x68]
xor edx, edx
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x10108994
mov edi, dword [esp + 0x20]
nop dword [eax]
mov ecx, dword [esi + 0x60]
lea edi, [edi + 4]
mov eax, dword [ecx + edx*4]
mov dword [ecx + edi - 4], eax
mov eax, dword [esi + 0x60]
mov ecx, dword [esp + 0x14]
mov dword [eax + edx*4], 0x7fff
inc edx
cmp edx, ecx
jb 0x10108970
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
add dword [esi + 0x60], eax
inc dword [esi + 0xa4]
mov eax, dword [esp + 0x2c]
add dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
push esi
call fcn.1010a120
push 0
push esi
call fcn.10106e80
add esp, 0xc
jmp case.0x10107b4e.37
cmp edx, 0x5d
jb case.0x10107b4e.36
push esi
call fcn.10124360
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x28]
mov al, byte [eax]
and al, 7
cmp al, 1
jne 0x101089f1
test edi, edi
je 0x101089f1
mov eax, dword [esi + 0x60]
mov dword [eax + ecx*4], edi
cmp ecx, dword [esi + 0x68]
jb 0x101089f1
lea eax, [ecx + 1]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x5c8]
add eax, 0x8001
cmp dword [esi + 8], eax
ja 0x10108a4e
jmp 0x10107982
movd xmm0, edx
cvtdq2pd xmm0, xmm0
push 5
push esi
movsd qword [esi + 0x908], xmm0
call fcn.100e83e0
push 6
push esi
call fcn.100e83a0
push 0x12
push esi
call fcn.100e83a0
push 0x10
push esi
call fcn.100e83a0
push 8
push esi
call fcn.100e83a0
push 4
push esi
call fcn.100e83a0
push 2
push esi
call fcn.100e83a0
push 1
push esi
call fcn.100e83a0
nop
pushal
js 269519467
adc byte [edx - 0x7defef88], al
js 0x10108a73
adc byte [eax], dl
cmp byte [eax + 0x10], 0x10
mov ecx, 17830008
adc byte [ecx + 0x1101078], bh
jns 0x10108a7b
adc byte [edi + 0x79], al
adc byte [eax], dl
out 0x7a, eax
adc byte [eax], dl
jnp 0x10108a87
adc byte [esi], dh
jnp 0x10108a87
adc byte [esi], dh
jnp 0x10108a8b
adc byte [esi], dh
jnp 0x10108a8f
adc byte [esi], dh
jnp 0x10108a93
adc byte [edx], bl
jnp 0x10108a97
adc byte [ebp + 0x7b], dl
adc byte [eax], dl
invalid
adc byte [ebx + edi*2 + 0x7bbe1010], cl
adc byte [eax], dl
jae 0x10108b14
adc byte [esi + 0x7310107b], bh
jle 0x10108aa7
adc byte [ebx + 0x7e], dh
adc byte [eax], dl
push eax
adc byte [eax], 16
adc byte [eax - 0x80], dl
adc byte [eax], dl
insb byte es:[edi], dx
adc byte [eax], 16
ljmp 0x1080
adc ch, cl
adc dword [eax], 0x1080a910
adc byte [edx + eax*4 + 0x10], bh
adc byte [eax], al
adc dword [eax], 0x10
sub al, 0x82
adc byte [eax], dl
ja 0x10108a41
adc byte [eax], dl
push es
mov dl, byte [eax]
adc ah, cl
mov dword [eax], edx
adc byte [ebx - 0x7c], al
adc byte [eax], dl
pop es
test byte [eax], dl
adc byte [eax], bl
test byte [eax], dl
adc byte [eax - 0x7c], ah
adc byte [eax], dl
jae 0x10108a5e
adc byte [eax], dl
hlt
inc eax
xchg dword [eax], edx
adc byte [ebp - 0x79], dh
adc byte [eax], dl
mov dl, byte ds:[eax]
adc bl, bl
xchg dword [eax], edx
adc byte [ebp + 0xe101087], bl
mov byte [eax], dl
adc byte [edi + eax*4 - 0x77cfeff0], bh
adc byte [eax], dl
jns 0x10108abe
adc byte [eax], dl
stosd dword es:[edi], eax
mov dword [eax], edx
adc byte [esi + 0x1c101088], cl
mov dword [eax], edx
adc bl, al
mov dword [eax], edx
adc byte [eax], al
add byte [eax], al
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [edx], eax
add al, byte [ebx]
add eax, dword [eax + 134743814]
or byte [eax], cl
or dword [edx], ecx
or cl, byte [edx]
or cl, byte [edx]
or byte [eax], cl
or byte [eax], cl
or dword [ebx], ecx
or al, 13
push cs
prefetchw byte [303173904]
adc dl, byte [edx]
or al, 12
adc edx, dword [edx + 387323413]
push ss
push ss
pop ss
or al, 24
sbb dword [edx], ebx
sbb ebx, dword [esp + ecx]
sbb eax, 522133004
pop ds
and byte [ecx], ah
and ah, byte [ebx]
and al, 37
and esp, dword [esi]
daa
and ebp, dword [eax]
sub dword [edx], ebp
and ebp, dword [ebx]
sub al, 35
or eax, -859034323
int3