Function at 0x100c1560
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov dword [ecx + 0x5c], edx
sub edx, 1
je 0x100bcf41
sub edx, 1
je 0x100bcf3b
sub edx, 1
je 0x100bcf35
xor eax, eax
ret
mov eax, 3
ret
mov eax, 2
ret
mov eax, 1
ret
sub esp, 0x2c
mov eax, dword [esp + 0x38]
push ebx
mov ebx, ecx
mov dword [esp + 0x10], edx
push ebp
push esi
push edi
cmp dword [ebx + 0x5c], 0
lea esi, [ebx + 8]
mov dword [esp + 0x24], ebx
mov ebp, 1
jge 0x100c158d
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx]
test ecx, ecx
je 0x100c15b5
test eax, eax
je 0x100c15a0
cmp dword [eax], 0
jne 0x100c15b3
mov edx, 0xffffffec
mov ecx, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
jmp 0x100bcf20
test ecx, ecx
mov ecx, 0
cmovne ecx, eax
cmp dword [ebx + 0x30], 0
mov dword [esp + 0x14], ecx
jne 0x100c15d4
mov eax, dword [edx]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
jmp 0x100c15dc
mov ebp, 2
lea eax, [ebx + 0x28]
mov dword [esi + 8], eax
mov edi, 0x20
mov edx, dword [0x1019e788]
mov dword [esp + 0x34], 0x3e
mov dword [esp + 0x18], edx
cmp ebp, 1
je 0x100c1683
cmp ebp, 2
jne 0x100c257c
cmp dword [ebx + 0x64], 0
je 0x100c1628
mov edx, dword [esp + 0x44]
push 1
push ecx
push ecx
mov ecx, ebx
call fcn.100bf9a0
add esp, 0xc
test eax, eax
js 0x100c252b
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x100c253d
cmp dword [esi + 0xc], 0
mov eax, dword [esp + 0x1c]
jne 0x100c1654
mov dword [ebx + 0x30], 0
mov eax, dword [eax]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov dword [esi + 8], eax
jmp 0x100c167a
cmp dword [eax], 0
je 0x100c25df
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
mov al, byte [eax]
mov byte [ecx + ebx + 0x28], al
inc dword [ebx + 0x30]
mov eax, dword [ebx + 0x30]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x1c]
inc dword [edx]
dec dword [eax]
mov ecx, dword [esp + 0x14]
mov ebp, 1
mov eax, dword [ebx]
cmp eax, 0x18
ja case.default.0x100c168e
jmp dword [eax*4 + 0x100c2618]
mov ebp, dword [esi + 4]
mov eax, edi
sub eax, ebp
jne 0x100c16cd
mov edx, dword [esi + 0xc]
test edx, edx
jne 0x100c16ad
lea ebp, [eax + 2]
jmp case.default.0x100c168e
mov ecx, dword [esi + 8]
shr dword [esi], 8
movzx eax, byte [ecx]
shl eax, 0x18
or dword [esi], eax
lea eax, [ebp - 8]
mov dword [esi + 4], eax
lea eax, [edx - 1]
mov dword [esi + 0xc], eax
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x135c]
mov dword [esp + 0x2c], eax
and eax, 0xffffffdf
mov dword [ebx + 0x135c], eax
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, edx
shr eax, cl
lea ebp, [ecx + 1]
mov dword [esi + 4], ebp
test al, 1
jne 0x100c16ff
mov dword [ebx + 0x1360], 0x10
jmp 0x100c1771
mov ecx, ebp
mov eax, edx
shr eax, cl
lea ecx, [ebp + 3]
mov dword [esi + 4], ecx
and eax, 7
je 0x100c171b
add eax, 0x11
mov dword [ebx + 0x1360], eax
jmp 0x100c1771
mov eax, edx
shr eax, cl
add ecx, 3
and eax, 7
mov dword [esi + 4], ecx
cmp eax, 1
jne 0x100c1758
test byte [esp + 0x2c], 0x20
je 0x100c1741
shr edx, cl
lea eax, [ecx + 1]
mov dword [esi + 4], eax
test dl, 1
je 0x100c174f
mov ecx, dword [esp + 0x14]
mov ebp, 0xfffffff3
jmp case.default.0x100c168e
or dword [ebx + 0x135c], 0x20
jmp 0x100c1771
test eax, eax
je 0x100c1767
add eax, 8
mov dword [ebx + 0x1360], eax
jmp 0x100c1771
mov dword [ebx + 0x1360], 0x11
mov al, byte [ebx + 0x135c]
mov ebp, 1
mov ecx, dword [esp + 0x14]
and al, 0x20
movzx eax, al
neg eax
sbb eax, eax
add eax, 2
mov dword [ebx], eax
jmp case.default.0x100c168e
mov ebp, dword [esi + 4]
mov eax, edi
sub eax, ebp
cmp eax, 6
jae 0x100c17d5
nop
mov edx, dword [esi + 0xc]
test edx, edx
je 0x100c1d3a
mov ecx, dword [esi + 8]
shr dword [esi], 8
movzx eax, byte [ecx]
add dword [esi + 4], 0xfffffff8
mov ebp, dword [esi + 4]
shl eax, 0x18
or dword [esi], eax
lea eax, [edx - 1]
mov dword [esi + 0xc], eax
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, edi
sub eax, ebp
cmp eax, 6
jb 0x100c17a0
mov eax, dword [esi]
mov ecx, ebp
shr eax, cl
and eax, 0x3f
mov dword [ebx + 0x1360], eax
add dword [esi + 4], 6
mov eax, dword [ebx + 0x1360]
sub eax, 0xa
cmp eax, 0x14
ja 0x100c1741
mov dword [ebx], 2
mov ecx, dword [ebx + 0x1360]
mov eax, 1
shl eax, cl
sub eax, 0x10
push 0x3030
push dword [ebx + 0x20]
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x18]
call eax
add esp, 8
mov dword [ebx + 0xac], eax
test eax, eax
jne 0x100c1843
mov ecx, dword [0x1019e788]
lea ebp, [eax - 0x1e]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
jmp case.default.0x100c168e
add eax, 0x1da0
mov dword [ebx + 0xb0], eax
mov dword [ebx + 0xbc], 0
mov dword [ebx + 0xd0], 1
mov dword [ebx + 0xd4], 1
mov dword [ebx + 0xd8], 1
mov dword [ebx + 0xc4], 0x1000000
mov dword [ebx + 0xc8], 0x1000000
mov dword [ebx + 0xcc], 0x1000000
mov dword [ebx + 0xdc], 1
mov dword [ebx + 0xe4], 1
mov dword [ebx + 0xe8], 0
mov dword [ebx + 0xec], 1
mov dword [ebx + 0xf0], 0
mov dword [ebx + 0xe0], 0
mov dword [ebx + 0x136c], 0
mov dword [ebx + 0x1370], 0
mov dword [ebx + 0x104], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x108], 0
mov dword [ebx + 0x78], 0
mov byte [ebx + 0x10c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0x9c], 0
mov dword [ebx], 4
mov edx, esi
mov ecx, ebx
call fcn.100bd150
mov ebp, eax
cmp ebp, 1
jne 0x100c2344
test byte [ebx + 0x135c], 6
je 0x100c19ab
mov ecx, dword [esi + 4]
mov eax, ecx
neg eax
and eax, 7
mov dword [esp + 0x2c], eax
je 0x100c19ab
mov edx, dword [esi]
shr edx, cl
test dword [eax*4 + 0x1019e780], edx
lea eax, [ecx + eax]
mov dword [esi + 4], eax
je 0x100c19ab
mov ecx, dword [0x1019e788]
mov ebp, 0xfffffff2
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
jmp case.default.0x100c168e
test byte [ebx + 0x135c], 4
je 0x100c19cd
mov ecx, dword [0x1019e788]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov dword [ebx], 0xc
jmp case.default.0x100c168e
cmp dword [ebx + 0xbc], 0
jne 0x100c19ef
mov ecx, dword [0x1019e788]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov dword [ebx], 0xe
jmp case.default.0x100c168e
mov ecx, ebx
call fcn.100bfc90
test byte [ebx + 0x135c], 2
mov ecx, dword [0x1019e788]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
je 0x100c1a18
mov dword [ebx], 0xb
jmp case.default.0x100c168e
mov dword [ebx + 4], 0
mov dword [ebx], 0x11
jmp case.default.0x100c168e
push ebx
push ecx
mov edx, ecx
mov ecx, dword [esp + 0x4c]
call fcn.100bfb50
mov ebp, eax
add esp, 8
cmp ebp, 1
jne 0x100c2344
jmp 0x100c19d6
cmp dword [ebx + 0xbc], 0
jle 0x100c19e0
mov edx, dword [esi + 4]
mov eax, edi
sub eax, edx
cmp eax, 8
jae 0x100c1a99
nop dword [eax]
mov edi, dword [esi + 0xc]
test edi, edi
je 0x100c2009
mov ecx, dword [esi + 8]
add edx, 0xfffffff8
shr dword [esi], 8
movzx eax, byte [ecx]
shl eax, 0x18
or dword [esi], eax
lea eax, [edi - 1]
mov dword [esi + 0xc], eax
mov edi, 0x20
lea eax, [ecx + 1]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov eax, edi
sub eax, edx
cmp eax, 8
jb 0x100c1a60
lea eax, [edx + 8]
mov dword [esi + 4], eax
dec dword [ebx + 0xbc]
cmp dword [ebx + 0xbc], 0
jg 0x100c1a50
mov ecx, dword [esp + 0x14]
mov dword [ebx], 0xe
jmp case.default.0x100c168e
mov eax, dword [ebx + 4]
cmp eax, 3
jl 0x100c1ad0
mov dword [ebx], 5
jmp case.default.0x100c168e
add eax, 0x34
mov edx, esi
mov ecx, ebx
lea eax, [ebx + eax*4]
push eax
call fcn.100bcf50
mov ecx, dword [esp + 0x18]
mov ebp, eax
add esp, 4
cmp ebp, 1
jne 0x100c15ff
mov eax, dword [ebx + 4]
inc dword [ebx + eax*4 + 0xd0]
mov eax, dword [ebx + 4]
cmp dword [ebx + eax*4 + 0xd0], 2
jae 0x100c1b12
inc eax
mov dword [ebx + 4], eax
jmp case.default.0x100c168e
mov dword [ebx], 0x12
mov eax, dword [ebx + 4]
push ebx
push 0
mov ecx, dword [ebx + eax*4 + 0xd0]
imul eax, eax, 0x9e0
add ecx, 2
mov edx, ecx
add eax, dword [ebx + 0xac]
push eax
call fcn.100bde20
mov ebp, eax
add esp, 0xc
cmp ebp, 1
jne 0x100c2344
mov dword [ebx], 0x13
imul eax, dword [ebx + 4], 0x630
mov edx, 0x1a
push ebx
push 0
mov ecx, edx
add eax, dword [ebx + 0xb0]
push eax
call fcn.100bde20
mov ebp, eax
add esp, 0xc
cmp ebp, 1
jne 0x100c2344
mov eax, dword [0x1019e788]
mov dword [ebx], 0x14
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 4]
imul ecx, eax, 0x630
add eax, 0x31
lea eax, [ebx + eax*4]
add ecx, dword [ebx + 0xb0]
cmp dword [ebx + 0x1358], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
jne 0x100c1c83
mov edx, dword [esi + 4]
mov eax, edi
sub eax, edx
cmp eax, 0xf
jae 0x100c1bfd
mov edx, dword [esi + 0xc]
test edx, edx
je 0x100c1c62
mov ecx, dword [esi + 8]
shr dword [esi], 8
movzx eax, byte [ecx]
add dword [esi + 4], 0xfffffff8
shl eax, 0x18
or dword [esi], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x28], eax
lea eax, [edx - 1]
mov edx, dword [esp + 0x28]
mov dword [esi + 0xc], eax
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, edi
sub eax, edx
cmp eax, 0xf
jb 0x100c1bc0
mov eax, dword [esi]
mov ecx, edx
shr eax, cl
mov ecx, dword [esp + 0x2c]
and eax, 0x7fff
mov dword [esp + 0x28], eax
movzx eax, al
lea eax, [ecx + eax*4]
mov dword [esp + 0x20], eax
mov al, byte [eax]
cmp al, 8
jbe 0x100c1c50
shr dword [esp + 0x28], 8
add edx, 8
movzx eax, al
mov dword [esi + 4], edx
mov ecx, dword [eax*4 + 0x1019e760]
mov eax, dword [esp + 0x20]
and ecx, dword [esp + 0x28]
movzx eax, word [eax + 2]
add ecx, eax
mov eax, dword [esp + 0x20]
lea eax, [eax + ecx*4]
mov dword [esp + 0x20], eax
mov al, byte [eax]
movzx eax, al
add eax, edx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 2]
jmp 0x100c1c89
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x20]
push eax
mov edx, esi
call fcn.100bd730
add esp, 4
test eax, eax
je 0x100c1d3a
mov eax, dword [esp + 0x20]
jmp 0x100c1c8d
mov eax, dword [ebx + 0xc0]
mov dword [esp + 0x20], eax
movzx ecx, byte [eax*4 + 0x1019e71a]
mov eax, edi
mov edx, dword [esi + 4]
sub eax, edx
mov dword [esp + 0x28], ecx
cmp eax, ecx
jae 0x100c1cd6
mov edx, dword [esi + 0xc]
test edx, edx
je 0x100c1d26
mov ecx, dword [esi + 8]
shr dword [esi], 8
movzx eax, byte [ecx]
add dword [esi + 4], 0xfffffff8
shl eax, 0x18
or dword [esi], eax
lea eax, [edx - 1]
mov edx, dword [esi + 4]
mov dword [esi + 0xc], eax
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, edi
sub eax, edx
cmp eax, dword [esp + 0x28]
jb 0x100c1ca4
mov eax, dword [esi]
mov ecx, edx
shr eax, cl
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx*4 + 0x1019e780]
and ecx, eax
mov eax, dword [esp + 0x28]
add eax, edx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x20]
movzx eax, word [eax*4 + 0x1019e718]
add eax, ecx
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
inc eax
mov dword [ebx + 0x1358], 0
mov dword [ebx + 4], eax
mov dword [ebx], 0x11
jmp case.default.0x100c168e
mov eax, dword [esp + 0x20]
mov dword [ebx + 0xc0], eax
mov dword [ebx + 0x1358], 1
mov ecx, dword [esp + 0x14]
mov ebp, 2
jmp case.default.0x100c168e
mov edi, dword [esi + 4]
mov ebp, 0x20
mov eax, ebp
sub eax, edi
cmp eax, 6
jae 0x100c1d95
nop dword [eax]
mov edx, dword [esi + 0xc]
test edx, edx
je 0x100c2009
mov ecx, dword [esi + 8]
shr dword [esi], 8
movzx eax, byte [ecx]
add dword [esi + 4], 0xfffffff8
mov edi, dword [esi + 4]
shl eax, 0x18
or dword [esi], eax
lea eax, [edx - 1]
mov dword [esi + 0xc], eax
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, ebp
sub eax, edi
cmp eax, 6
jb 0x100c1d60
mov edx, dword [esi]
lea eax, [edi + 6]
mov ecx, edi
mov dword [esi + 4], eax
shr edx, cl
and edx, 0x3f
mov ecx, edx
shr edx, 2
and ecx, 3
shl edx, cl
add edx, 0x10
mov dword [ebx + 0xf4], ecx
mov dword [ebx + 0xf8], edx
mov eax, dword [ecx*4 + 0x1019e780]
mov dword [ebx + 0xfc], eax
push dword [ebx + 0xd0]
mov eax, dword [ebx + 0x18]
push dword [ebx + 0x20]
call eax
add esp, 8
mov dword [ebx + 0x1370], eax
test eax, eax
jne 0x100c1dfe
mov ecx, dword [0x1019e788]
lea ebp, [eax - 0x15]
mov dword [esp + 0x18], ecx
lea edi, [eax + 0x20]
mov ecx, dword [esp + 0x14]
jmp case.default.0x100c168e
mov eax, dword [0x1019e788]
mov dword [ebx + 4], 0
mov dword [ebx], 6
mov dword [esp + 0x18], eax
jmp 0x100c1e1b
mov ebp, 0x20
mov eax, dword [ebx + 4]
mov dword [esp + 0x28], eax
cmp eax, dword [ebx + 0xd0]
jge 0x100c1e9e
nop word [eax + eax]
mov edi, dword [esi + 4]
mov eax, ebp
sub eax, edi
cmp eax, 2
jae 0x100c1e74
nop dword [eax]
mov edx, dword [esi + 0xc]
test edx, edx
je 0x100c2002
mov ecx, dword [esi + 8]
add edi, 0xfffffff8
shr dword [esi], 8
movzx eax, byte [ecx]
shl eax, 0x18
or dword [esi], eax
lea eax, [edx - 1]
mov dword [esi + 0xc], eax
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, ebp
sub eax, edi
mov dword [esi + 4], edi
cmp eax, 2
jb 0x100c1e40
mov edx, dword [esi]
lea eax, [edi + 2]
mov ecx, edi
mov dword [esi + 4], eax
mov eax, dword [ebx + 0x1370]
shr edx, cl
mov ecx, dword [esp + 0x28]
and edx, dword [esp + 0x18]
mov byte [ecx + eax], dl
inc ecx
mov dword [esp + 0x28], ecx
cmp ecx, dword [ebx + 0xd0]
jl 0x100c1e30
mov dword [ebx], 0x15
mov edi, 0x20
mov ecx, dword [ebx + 0xd0]
lea eax, [ebx + 0x136c]
push ebx
push eax
lea edx, [ebx + 0x1368]
shl ecx, 6
mov dword [esp + 0x38], eax
call fcn.100be340
mov ebp, eax
add esp, 8
cmp ebp, 1
jne 0x100c2344
xorps xmm0, xmm0
xor ebp, ebp
movups xmmword [ebx + 0x137c], xmm0
mov dword [esp + 0x28], ebp
movups xmmword [ebx + 0x138c], xmm0
cmp dword [ebx + 0xd0], ebp
jbe 0x100c1f90
nop word [eax + eax]
mov eax, dword [esp + 0x30]
mov ecx, ebp
shl ecx, 6
xor ebp, ebp
mov eax, dword [eax]
lea esi, [ebp + 0x10]
mov bl, byte [ecx + eax]
lea edi, [eax + 2]
add edi, ecx
nop dword [eax + eax]
movzx edx, byte [edi - 2]
lea edi, [edi + 4]
movzx ecx, byte [edi - 5]
movzx eax, bl
xor edx, eax
movzx eax, bl
xor ecx, eax
movzx eax, bl
or edx, ecx
movzx ecx, byte [edi - 3]
xor ecx, eax
movzx eax, byte [edi - 4]
or edx, ecx
movzx ecx, bl
xor ecx, eax
or edx, ecx
or ebp, edx
sub esi, 1
jne 0x100c1f20
mov ebx, dword [esp + 0x24]
test ebp, ebp
mov ebp, dword [esp + 0x28]
jne 0x100c1f7c
mov eax, ebp
mov ecx, ebp
shr eax, 5
and ecx, 0x1f
lea edx, [ebx + eax*4]
mov eax, dword [edx + 0x137c]
bts eax, ecx
mov dword [edx + 0x137c], eax
inc ebp
mov dword [esp + 0x28], ebp
cmp ebp, dword [ebx + 0xd0]
jb 0x100c1f00
lea esi, [ebx + 8]
mov dword [ebx], 0x16
mov edi, 0x20
mov edx, dword [ebx + 0xf8]
mov ebp, 0x18
mov ecx, dword [ebx + 0xf4]
lea eax, [edx - 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x135c]
test eax, 0x20
cmovne ebp, dword [esp + 0x34]
inc ecx
shl ebp, cl
add ebp, edx
mov dword [esp + 0x28], ebp
test eax, 0x20
je 0x100c203e
mov eax, dword [ebx + 0xf4]
mov edx, 1
mov ecx, eax
shl edx, cl
mov ecx, dword [esp + 0x30]
mov ebp, dword [eax*4 + 0x101cc7f8]
mov eax, dword [eax*4 + str.I]
cmp ecx, ebp
jae 0x100c201a
add eax, edx
add eax, ecx
mov dword [esp + 0x18], eax
jmp 0x100c2042
mov eax, dword [esp + 0x28]
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x14]
mov ebp, 2
lea edi, [ebp + 0x1e]
jmp case.default.0x100c168e
mov dword [esp + 0x2c], eax
lea eax, [edx + ebp]
cmp ecx, eax
jbe 0x100c2031
mov eax, dword [esp + 0x2c]
add eax, ecx
mov dword [esp + 0x18], eax
jmp 0x100c2042
lea eax, [edx + ebp]
add eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
jmp 0x100c2042
mov dword [esp + 0x18], ebp
mov ecx, dword [ebx + 0xd8]
lea eax, [ebx + 0x104]
push ebx
lea edx, [ebx + 0x100]
shl ecx, 2
push eax
call fcn.100be340
mov ebp, eax
add esp, 8
cmp ebp, 1
jne 0x100c2344
mov ebx, dword [ebx + 0x1368]
mov ebp, dword [esp + 0x24]
imul eax, ebx, 0x9d8
lea edi, [ebx*4]
add eax, edi
push eax
push dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
call eax
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x84], 0x1000100
mov word [ebp + 0x88], bx
lea ecx, [edi + eax]
mov dword [esp + 0x38], eax
mov dword [ebp + 0x80], ecx
mov ebx, dword [ebp + 0xd4]
imul eax, ebx, 0x10e0
lea edi, [ebx*4]
add eax, edi
push eax
push dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
call eax
mov ebp, eax
mov eax, dword [esp + 0x34]
mov word [eax + 0x98], bx
lea ecx, [edi + ebp]
mov ebx, eax
mov dword [eax + 0x94], 0x2c002c0
mov eax, dword [esp + 0x38]
add eax, 0x1f
shr eax, 5
mov dword [ebx + 0x8c], ebp
mov dword [ebx + 0x90], ecx
mov edi, dword [ebx + 0x100]
movzx eax, word [eax*2 + 0x101a3b78]
imul eax, edi
shl eax, 2
lea eax, [eax + edi*4]
push eax
push dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
call eax
mov ecx, dword [esp + 0x40]
add esp, 0x18
mov word [ebx + 0xa4], cx
mov ecx, dword [esp + 0x18]
mov word [ebx + 0xa6], cx
lea ecx, [eax + edi*4]
mov dword [ebx + 0xa0], ecx
xor ecx, ecx
test eax, eax
mov dword [ebx + 0x9c], eax
mov word [ebx + 0xa8], di
setne cl
xor eax, eax
test ebp, ebp
setne al
and ecx, eax
mov eax, dword [esp + 0x30]
neg eax
sbb eax, eax
test ecx, eax
je 0x100c25ef
mov ecx, dword [0x1019e788]
mov edi, 0x20
mov dword [ebx + 4], 0
mov dword [ebx], 0x17
mov dword [esp + 0x18], ecx
mov eax, dword [ebx + 4]
sub eax, 0
je 0x100c21ae
sub eax, 1
je 0x100c21a7
sub eax, 1
jne 0x100c2602
mov ebp, 0x9c
jmp 0x100c21b3
mov ebp, 0x8c
jmp 0x100c21b3
mov ebp, 0x7c
cmp dword [ebx + 0x1344], 1
mov dword [esp + 0x28], ebp
je 0x100c21de
mov eax, dword [ebx + ebp + 4]
mov dword [ebx + 0x810], eax
mov dword [ebx + 0x80c], 0
mov dword [ebx + 0x1344], 1
movzx eax, word [ebx + ebp + 0xc]
cmp dword [ebx + 0x80c], eax
jge 0x100c2259
nop dword [eax + eax]
movzx edx, word [ebx + ebp + 0xa]
lea eax, [esp + 0x38]
movzx ecx, word [ebx + ebp + 8]
push ebx
push eax
push dword [ebx + 0x810]
call fcn.100bde20
mov ebp, eax
add esp, 0xc
cmp ebp, 1
jne 0x100c2344
mov ebp, dword [esp + 0x28]
mov edx, dword [ebx + 0x80c]
mov eax, dword [ebx + 0x810]
mov ecx, dword [ebx + ebp]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x38]
inc dword [ebx + 0x80c]
shl eax, 2
add dword [ebx + 0x810], eax
movzx eax, word [ebx + ebp + 0xc]
cmp dword [ebx + 0x80c], eax
jl 0x100c21f0
mov ecx, dword [0x1019e788]
mov dword [esp + 0x18], ecx
mov eax, dword [ebx + 4]
mov ebp, 1
inc eax
mov dword [ebx + 0x1344], 0
mov dword [ebx + 4], eax
cmp eax, 3
jl 0x100c230d
mov edi, dword [ebx + 0xe0]
mov edx, edi
mov eax, edi
shl edx, 6
add edx, dword [ebx + 0x136c]
mov ecx, edi
shr eax, 5
and ecx, 0x1f
mov dword [ebx + 0x74], edx
mov eax, dword [ebx + eax*4 + 0x137c]
shr eax, cl
and eax, ebp
mov dword [ebx + 0xb4], eax
movzx ecx, byte [edx]
mov eax, dword [ebx + 0x7c]
mov eax, dword [eax + ecx*4]
mov ecx, ebx
mov dword [ebx + 0x108], eax
mov eax, dword [ebx + 0x1370]
movzx eax, byte [eax + edi]
and eax, 3
shl eax, 9
add eax, 0x1019e808
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 0x104]
mov dword [ebx + 0x78], eax
mov eax, dword [ebx + 0x8c]
mov eax, dword [eax]
mov dword [ebx + 0x6c], eax
call fcn.100bfac0
test eax, eax
mov eax, dword [0x1019e788]
mov dword [esp + 0x18], eax
jne 0x100c2307
mov ecx, dword [esp + 0x14]
mov ebp, 0xffffffe5
lea edi, [ebp + 0x3b]
jmp case.default.0x100c168e
mov dword [ebx], 7
mov ecx, dword [esp + 0x14]
mov edi, 0x20
jmp case.default.0x100c168e
mov ecx, ebx
call fcn.100bfd00
mov ebp, eax
cmp ebp, 2
je 0x100c233b
mov eax, dword [0x1019e788]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
jmp case.default.0x100c168e
mov ecx, ebx
call fcn.100c0a30
mov ebp, eax
mov eax, dword [0x1019e788]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
jmp case.default.0x100c168e
mov edx, dword [esp + 0x44]
push 0
push ecx
push ecx
mov ecx, ebx
call fcn.100bf9a0
mov ecx, dword [esp + 0x20]
mov ebp, eax
add esp, 0xc
cmp ebp, 1
jne 0x100c15ff
mov ecx, ebx
call fcn.100bfa90
mov ecx, dword [ebx + 0x1360]
mov eax, 1
shl eax, cl
cmp dword [ebx + 0x40], eax
jne 0x100c2396
mov eax, dword [ebx + 0x38]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx]
cmp eax, 0xf
jne 0x100c23bc
cmp dword [ebx + 0xbc], 0
mov ecx, 7
mov eax, 0xe
cmovne eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [ebx], eax
jmp case.default.0x100c168e
cmp eax, 0x10
jne 0x100c23d1
mov ecx, dword [esp + 0x14]
mov eax, 0xa
mov dword [ebx], eax
jmp case.default.0x100c168e
cmp dword [ebx + 4], 0
jne 0x100c23f6
cmp dword [ebx + 0xbc], 0
mov ecx, 9
mov eax, 0xe
cmovne eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [ebx], eax
jmp case.default.0x100c168e
mov ecx, dword [esp + 0x14]
mov eax, 8
mov dword [ebx], eax
jmp case.default.0x100c168e
cmp dword [ebx + 0xbc], 0
jge 0x100c2419
mov ebp, 0xfffffff6
jmp case.default.0x100c168e
mov ecx, ebx
call fcn.101125e0
test byte [ebx + 0x135c], 1
jne 0x100c2441
mov eax, dword [0x1019e788]
mov ecx, dword [esp + 0x14]
mov dword [ebx], 3
mov dword [esp + 0x18], eax
jmp case.default.0x100c168e
mov edx, dword [esi + 4]
mov eax, edx
neg eax
and eax, 7
mov dword [esp + 0x30], eax
mov eax, 0
je 0x100c247a
mov eax, dword [esi]
mov ecx, edx
shr eax, cl
mov ecx, dword [esp + 0x30]
mov ebx, dword [ecx*4 + 0x1019e780]
and ebx, eax
add edx, ecx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov dword [esi + 4], edx
test eax, eax
je 0x100c2495
mov eax, dword [0x1019e788]
mov ebp, 0xfffffff1
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
jmp case.default.0x100c168e
cmp dword [ebx + 0x30], 0
jne 0x100c24e9
mov ecx, edi
sub ecx, edx
shr ecx, 3
sub dword [esi + 8], ecx
lea eax, [ecx*8]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xc]
add eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x30]
cmp eax, 0x20
jne 0x100c24cd
mov dword [esi], 0
jmp 0x100c24d1
mov ecx, eax
shl dword [esi], cl
mov ecx, dword [esp + 0x1c]
add eax, edx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esi + 8]
mov dword [ecx], eax
mov eax, dword [0x1019e788]
mov dword [ebx], 0x18
mov dword [esp + 0x18], eax
cmp dword [ebx + 0x64], 0
je 0x100c25df
mov edx, dword [esp + 0x44]
push 1
push ecx
push dword [esp + 0x1c]
mov ecx, ebx
call fcn.100bf9a0
mov ebp, eax
add esp, 0xc
cmp ebp, 1
je 0x100c25df
mov ecx, dword [esp + 0x14]
jmp case.default.0x100c168e
mov ebp, eax
mov ecx, ebx
mov edx, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
jmp 0x100bcf20
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 8]
mov dword [edx], eax
mov eax, dword [esi + 0xc]
mov esi, dword [esp + 0x1c]
mov dword [esi], eax
test eax, eax
je 0x100c25df
mov eax, dword [edx]
mov ecx, dword [ebx + 0x30]
mov al, byte [eax]
mov byte [ecx + ebx + 0x28], al
inc dword [ebx + 0x30]
inc dword [edx]
add dword [esi], 0xffffffff
jne 0x100c2557
mov edx, ebp
mov ecx, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
jmp 0x100bcf20
cmp dword [ebx + 0x30], 0
je 0x100c2599
mov dword [ebx + 0x30], 0
mov edx, ebp
mov ecx, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
jmp 0x100bcf20
mov edx, dword [esi + 4]
sub edi, edx
mov eax, dword [esi + 0xc]
shr edi, 3
sub dword [esi + 8], edi
add eax, edi
mov dword [esp + 0x38], eax
mov dword [esi + 0xc], eax
lea ecx, [edi*8]
cmp ecx, 0x20
jne 0x100c25c4
mov dword [esi], 0
jmp 0x100c25c6
shl dword [esi], cl
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esi + 8]
mov dword [ecx], eax
mov edx, ebp
mov ecx, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
jmp 0x100bcf20
mov edx, 0xffffffea
mov ecx, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
jmp 0x100bcf20
pop edi
pop esi
pop ebp
mov ecx, ebx
mov edx, 0xffffffe1
pop ebx
add esp, 0x2c
jmp 0x100bcf20