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

Disassembly:
sub esp, 0x2e8
mov eax, dword [0x100d92b4]
xor eax, esp
mov dword [esp + 0x2e4], eax
push ebx
mov ebx, dword [esp + 0x2f4]
lea eax, [esp + 0x6c]
push ebp
mov ebp, dword [esp + 0x2f4]
xorps xmm0, xmm0
push esi
push 0x38
push 0
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebp
movups xmmword [esp + 0x44], xmm0
movups xmmword [esp + 0x54], xmm0
call fcn.10058d80
mov eax, dword [ebp + 0x20c]
lea ecx, [ebx + 1]
add esp, 0xc
mov word [esp + 0x70], 0
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
and eax, 1
movq qword [esp + 0x68], xmm0
movups xmmword [esp + 0x58], xmm0
mov dword [esp + 0x34], eax
mov dword [esp + 0xc], 0
mov al, byte [ebx]
inc ebx
test al, al
jne 0x1001d6f0
push edi
sub ebx, ecx
lea edi, [esp + 0x5c]
mov ebp, 1
lea eax, [ebp - 1]
cmp eax, ebx
jge 0x1001d7c3
mov ecx, dword [esp + 0x1c]
mov esi, 1
mov eax, ecx
not eax
mov dword [esp + 0x30], eax
mov eax, esi
sub eax, ecx
lea edx, [ecx + 1]
mov dword [esp + 0x24], eax
add edx, ebp
mov eax, 0xfffffffe
sub eax, ecx
mov dword [esp + 0x14], eax
add eax, edx
cmp eax, ebx
jge 0x1001d7b1
cmp byte [edx - 2], 0x31
jne 0x1001d750
lea ecx, [esi - 1]
mov eax, 0x8000
sar eax, cl
or word [edi], ax
mov eax, dword [esp + 0x30]
add eax, edx
cmp eax, ebx
jge 0x1001d7b1
cmp byte [edx - 1], 0x31
jne 0x1001d76c
mov eax, 0x8000
mov ecx, esi
sar eax, cl
or word [edi], ax
lea eax, [esi + ebp]
cmp eax, ebx
jge 0x1001d7b1
cmp byte [edx], 0x31
jne 0x1001d785
lea ecx, [esi + 1]
mov eax, 0x8000
sar eax, cl
or word [edi], ax
mov eax, dword [esp + 0x24]
add eax, edx
cmp eax, ebx
jge 0x1001d7b1
cmp byte [edx + 1], 0x31
jne 0x1001d7a2
lea ecx, [esi + 2]
mov eax, 0x8000
sar eax, cl
or word [edi], ax
mov eax, dword [esp + 0x14]
add esi, 4
add edx, 4
cmp esi, 0x10
jle 0x1001d737
add ebp, 0x10
add edi, 2
cmp ebp, 0xd1
jl 0x1001d703
push ebx
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.1001fd40
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x304]
mov dword [esp + 0x20], ecx
sub eax, 2
je 0x1001d8a7
sub eax, 1
je 0x1001d85a
sub eax, 1
jne case.0x1001d8af.7
lea eax, [ecx - 8]
cmp eax, 0xc
ja case.0x1001d8af.7
movzx eax, byte [eax + 0x1001dcfc]
jmp dword [eax*4 + 0x1001dce4]
mov eax, 0xc
mov dword [esp + 0x10], eax
jmp 0x1001d902
mov eax, 0xd
mov dword [esp + 0x10], eax
jmp 0x1001d902
mov eax, 0xe
mov dword [esp + 0x10], eax
jmp 0x1001d902
mov eax, 0xf
mov dword [esp + 0x10], eax
jmp 0x1001d902
mov eax, 0x10
mov dword [esp + 0x10], eax
jmp 0x1001d902
lea eax, [ecx - 8]
cmp eax, 9
ja case.0x1001d8af.7
jmp dword [eax*4 + 0x1001dd0c]
mov eax, 7
mov dword [esp + 0x10], eax
jmp 0x1001d902
mov eax, 8
mov dword [esp + 0x10], eax
jmp 0x1001d902
mov eax, 9
mov dword [esp + 0x10], eax
jmp 0x1001d902
mov eax, 0xa
mov dword [esp + 0x10], eax
jmp 0x1001d902
mov eax, 0xb
mov dword [esp + 0x10], eax
jmp 0x1001d902
lea eax, [ecx - 6]
cmp eax, 0xb
ja case.0x1001d8af.7
jmp dword [eax*4 + 0x1001dd34]
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x1001d902
mov eax, 1
mov dword [esp + 0x10], eax
jmp 0x1001d902
mov eax, 2
mov dword [esp + 0x10], eax
jmp 0x1001d902
mov eax, 3
mov dword [esp + 0x10], eax
jmp 0x1001d902
mov eax, 4
mov dword [esp + 0x10], eax
jmp 0x1001d902
mov eax, 5
mov dword [esp + 0x10], eax
jmp 0x1001d902
mov eax, 6
mov dword [esp + 0x10], eax
jmp 0x1001d902
xor eax, eax
movsx ebx, byte [eax + 0x10090635]
xor edi, edi
movsx edx, byte [eax + 0x10090624]
movsx ebp, byte [eax + 0x10090646]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], ebx
lea esi, [ebx - 1]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 0x3a1
test ecx, ecx
jle 0x1001d9ad
nop dword [eax]
nop dword [eax + eax]
movzx eax, word [esp + edi*2 + 0x78]
mov ecx, 0x3a1
add eax, dword [esp + ebx*4 + 0x38]
cdq
idiv ecx
mov ecx, esi
mov ebx, edx
test ecx, ecx
js 0x1001d9a2
nop dword [eax]
lea eax, [ecx + ebp]
movzx eax, word [eax*2 + 0x100905e8]
imul eax, ebx
cdq
idiv dword [esp + 0x14]
test ecx, ecx
je 0x1001d992
mov eax, dword [esp + ecx*4 + 0x38]
sub eax, edx
add eax, 0x3a1
cdq
idiv dword [esp + 0x14]
mov dword [esp + ecx*4 + 0x3c], edx
sub ecx, 1
jns 0x1001d960
jmp 0x1001d9a2
mov ebx, 0x3a1
mov eax, ebx
sub eax, edx
cdq
idiv ebx
mov dword [esp + ecx*4 + 0x3c], edx
mov ebx, dword [esp + 0x18]
inc edi
cmp edi, dword [esp + 0x20]
jl 0x1001d940
xor ecx, ecx
test ebx, ebx
jle 0x1001d9d1
mov esi, 0x3a1
mov edx, dword [esp + ecx*4 + 0x3c]
test edx, edx
je 0x1001d9c8
mov eax, esi
sub eax, edx
mov dword [esp + ecx*4 + 0x3c], eax
inc ecx
cmp ecx, ebx
jl 0x1001d9b8
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test esi, esi
js 0x1001d9f4
nop dword [eax]
mov ax, word [esp + esi*4 + 0x3c]
mov word [esp + ebx*2 + 0x78], ax
inc ebx
sub esi, 1
jns 0x1001d9e0
mov dword [esp + 0x20], ebx
mov ebp, dword [esp + 0x10]
movsx eax, byte [ebp + 0x10090658]
movsx ecx, byte [ebp + 0x1009068b]
mov dword [esp + 0x18], eax
movsx eax, byte [ebp + 0x10090669]
mov dword [esp + 0x28], eax
movsx eax, byte [ebp + 0x1009067a]
mov dword [esp + 0x14], eax
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esp + 0x24], 0
mov dword [esp + 0x1c], ecx
jle 0x1001dc98
mov eax, dword [esp + 0x2c]
lea ebp, [esp + 0x7a]
mov ebx, dword [esp + 0x304]
xor edi, edi
add eax, 0x7318
mov dword [esp + 0x30], eax
nop word [eax + eax]
xor eax, eax
imul esi, ecx, 0x3a1
cmp ebx, 3
je 0x1001da8d
push eax
lea eax, [esp + 0xb4]
push eax
mov eax, dword [esp + 0x20]
push 0xa
movzx eax, word [eax*2 + 0x1008e29e]
push eax
call fcn.1003e9e0
add esp, 0x10
push eax
lea eax, [esp + 0xb4]
push eax
movzx eax, word [ebp - 2]
add eax, esi
push 0x10
movzx eax, word [eax*2 + 0x1008c890]
push eax
call fcn.1003e9e0
add esp, 0x10
mov byte [esp + eax + 0xb0], 0x30
inc eax
cmp ebx, 2
jl 0x1001db9a
cmp ebx, 3
jne 0x1001dae6
push eax
lea eax, [esp + 0xb4]
push eax
mov eax, dword [esp + 0x30]
push 0xa
movzx eax, word [eax*2 + 0x1008e306]
push eax
call fcn.1003e9e0
add esp, 0x10
push eax
lea eax, [esp + 0xb4]
push eax
movzx eax, word [ebp]
add eax, esi
push 0x10
movzx eax, word [eax*2 + 0x1008c890]
push eax
call fcn.1003e9e0
add esp, 0x10
mov byte [esp + eax + 0xb0], 0x30
inc eax
cmp ebx, 3
jl 0x1001db9a
cmp ebx, 4
jne 0x1001db3f
push eax
lea eax, [esp + 0xb4]
push eax
mov eax, dword [esp + 0x30]
push 0xa
movzx eax, word [eax*2 + 0x1008e306]
push eax
call fcn.1003e9e0
add esp, 0x10
push eax
lea eax, [esp + 0xb4]
push eax
movzx eax, word [ebp + 2]
add eax, esi
push 0x10
movzx eax, word [eax*2 + 0x1008c890]
push eax
call fcn.1003e9e0
add esp, 0x10
mov byte [esp + eax + 0xb0], 0x30
inc eax
cmp ebx, 4
jne 0x1001db9a
push eax
lea eax, [esp + 0xb4]
push eax
movzx eax, word [ebp + 4]
add eax, esi
push 0x10
movzx eax, word [eax*2 + 0x1008c890]
push eax
call fcn.1003e9e0
add esp, 0x10
mov byte [esp + eax + 0xb0], 0x30
inc eax
push eax
lea eax, [esp + 0xb4]
push eax
mov eax, dword [esp + 0x1c]
push 0xa
movzx eax, word [eax*2 + 0x1008e29e]
push eax
call fcn.1003e9e0
add esp, 0x10
xor esi, esi
mov byte [esp + eax + 0xb0], 0x31
inc eax
mov dword [esp + 0x34], eax
test eax, eax
jle 0x1001dc09
mov ebx, dword [esp + 0x2c]
cmp byte [esp + esi + 0xb0], 0x31
jne 0x1001dbfd
mov edx, esi
mov eax, esi
shr edx, 3
and eax, 7
add edx, ebx
movzx ecx, byte [edx + edi + 0x298]
bts ecx, eax
mov eax, dword [esp + 0x34]
mov byte [edx + edi + 0x298], cl
inc esi
cmp esi, eax
jl 0x1001dbd1
mov ebx, dword [esp + 0x304]
mov eax, dword [esp + 0x30]
lea ebp, [ebp + ebx*2]
mov edx, dword [esp + 0x18]
add edi, 0x90
mov esi, dword [esp + 0x2c]
mov ecx, 1
mov dword [eax], 0x40000000
add eax, 4
mov dword [esp + 0x30], eax
lea eax, [edx + 1]
inc dword [esi + 0x290]
cmp edx, 0x34
mov edx, dword [esp + 0x28]
cmovne ecx, eax
cmp edx, 0x34
mov dword [esp + 0x18], ecx
mov ecx, 1
lea eax, [edx + 1]
mov edx, dword [esp + 0x14]
cmovne ecx, eax
cmp edx, 0x34
mov dword [esp + 0x28], ecx
mov ecx, 1
lea eax, [edx + 1]
mov edx, dword [esp + 0x1c]
cmovne ecx, eax
mov dword [esp + 0x14], ecx
xor ecx, ecx
cmp edx, 2
lea eax, [edx + 1]
cmovne ecx, eax
sub dword [esp + 0x24], 1
mov dword [esp + 0x1c], ecx
jne 0x1001da60
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x10]
jmp 0x1001dc9c
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x38], 0
mov eax, dword [esp + 0x34]
mov dword [esi + 0x294], eax
pop edi
je 0x1001dcca
push ebx
push ebp
push dword [esi + 0x290]
push dword [esp + 0x30c]
push str.CC_A_Columns:__d__Rows:__d__Variant:__d__CodeWords:__d_n
call fcn.10007430
add esp, 0x14
mov ecx, dword [esp + 0x2f0]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10057052
add esp, 0x2e8
ret