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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
movzx eax, word [eax]
cmp ax, 0x40
jle 0x1006b674
push 0x40
push str.at_most__d_tables_in_a_join
push ecx
call fcn.10046bd0
add esp, 0xc
xor eax, eax
mov esp, ebp
pop ebp
ret
test byte [ebp + 0x18], 0x80
push ebx
mov ebx, 1
jne 0x1006b683
movsx ebx, ax
mov eax, dword [ecx]
push esi
lea esi, [ebx + ebx*4]
mov dword [ebp - 0x10], ebx
shl esi, 4
add esi, 0x37
mov dword [ebp - 0x18], eax
and esi, 0xfffffff8
push edi
lea edi, [esi + 0x264]
push edi
push eax
call fcn.100453d0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x1006b6bf
push edi
push 0
push eax
call sub.MSVCR120.dll_memset
mov eax, dword [ebp - 4]
add esp, 0xc
mov ecx, dword [ebp - 0x18]
cmp byte [ecx + 0x1e], 0
je 0x1006b6db
push eax
push ecx
call fcn.10045340
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0x1c]
mov edi, dword [ebp + 8]
mov dword [eax + 0x18], ebx
mov dword [eax], edi
mov dword [eax + 8], ecx
call fcn.100675d0
mov ecx, dword [ebp - 4]
add esi, ecx
push 0x104
push 0
mov dword [ebp - 8], esi
mov dword [ecx + 0x14], eax
lea ebx, [esi + 0x160]
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0x1c], esi
mov word [ecx + 4], ax
movsd xmm0, qword [edi + 0x1c0]
push ebx
movsd qword [ecx + 0x20], xmm0
call sub.MSVCR120.dll_memset
lea eax, [esi + 0x20]
mov dword [esi], edi
mov dword [esi + 4], ebx
add esp, 0x10
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 8
mov dword [esi + 0x1c], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
cmp dword [edi + 0x15c], 0
mov esi, dword [ebp + 0x10]
jne 0x1006b782
mov eax, dword [edi]
test byte [eax + 0xc], 0x40
jne 0x1006b782
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 0x10026a30
push esi
push eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], edi
call fcn.1006b3f0
add esp, 8
push 0x45
push esi
push dword [ebp - 8]
call fcn.100724a0
add esp, 0xc
test esi, esi
je 0x1006b7b9
cmp dword [ebp - 0x10], 0
je 0x1006b7a7
push esi
call fcn.10049540
add esp, 4
test eax, eax
je 0x1006b7b9
mov eax, dword [ebp - 4]
push 8
push dword [eax + 0x14]
push esi
push edi
call fcn.10048f90
add esp, 0x10
mov ecx, dword [ebp + 0xc]
xor eax, eax
xor esi, esi
cmp ax, word [ecx]
jge 0x1006b815
lea edi, [ecx + 0x14]
jmp 0x1006b7d0
mov ecx, dword [ebx]
mov eax, dword [edi + 0xc]
mov dword [ebx + ecx*4 + 4], eax
inc dword [ebx]
mov eax, dword [edi]
test eax, eax
je 0x1006b807
test byte [eax + 0x22], 0x10
je 0x1006b807
xor ecx, ecx
mov eax, esi
bts ecx, eax
xor edx, edx
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [ebp - 8]
cmovae edx, ecx
or dword [eax + 8], ecx
or dword [eax + 0xc], edx
mov ecx, dword [ebp + 0xc]
inc esi
add edi, 0x38
movsx eax, word [ecx]
cmp esi, eax
jl 0x1006b7d0
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x14]
dec esi
js 0x1006b834
mov edi, edi
push esi
push eax
push ecx
call fcn.100272c0
mov eax, dword [ebp - 8]
add esp, 0xc
dec esi
mov ecx, dword [ebp + 0xc]
jns 0x1006b820
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x1e], 0
jne 0x1006bc83
mov ecx, dword [ebp - 4]
xor edx, edx
mov esi, dword [ebp - 0x10]
or edi, 0xffffffff
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x30], 0xffffffff
lea eax, [ecx + 0x30]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0xc], eax
test esi, esi
jle 0x1006bcae
movsd xmm0, qword [0x1009c990]
lea ecx, [esi - 1]
xor eax, eax
movsd qword [ebp - 0x54], xmm0
or ebx, 0xffffffff
mov dword [ebp - 0x34], 0
cmp edx, ecx
mov dword [ebp - 0x44], ebx
xorps xmm2, xmm2
xorps xmm0, xmm0
setl al
movq qword [ebp - 0x88], xmm2
movlpd qword [ebp - 0x68], xmm0
mov dword [ebp - 0x48], eax
movdqu xmmword [ebp - 0xa8], xmm2
movsd xmm1, qword [ebp - 0xa0]
movdqu xmmword [ebp - 0x78], xmm2
movdqu xmmword [ebp - 0x98], xmm2
test eax, eax
js 0x1006bb5c
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x68]
movsd qword [ebp - 0x60], xmm1
mov dword [ebp - 0x58], eax
test ebx, ebx
jns 0x1006bb59
mov ebx, dword [ebp + 0xc]
lea eax, [edx*8]
sub eax, edx
mov ecx, edx
mov dword [ebp - 0x14], ecx
lea ebx, [ebx + eax*8]
add ebx, 8
mov dword [ebp - 0x4c], ebx
cmp edx, esi
jge 0x1006bb4d
mov edi, dword [ebp - 4]
lea eax, [edx + edx*4]
shl eax, 4
add edi, 0x78
add eax, edi
mov dword [ebp - 0x28], eax
nop
test byte [ebx + 0x15], 0xa
mov eax, 0
setne al
mov dword [ebp - 0x64], eax
cmp ecx, edx
je 0x1006b93b
test eax, eax
jne 0x1006bb4d
mov ecx, dword [ebp - 8]
xor eax, eax
mov edx, dword [ecx + 0x160]
test edx, edx
jle 0x1006b95f
mov esi, dword [ebx + 0x18]
add ecx, 0x164
cmp dword [ecx], esi
je 0x1006b994
inc eax
add ecx, 4
cmp eax, edx
jl 0x1006b953
xorps xmm0, xmm0
movlpd qword [ebp - 0x80], xmm0
mov edi, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x80]
mov edx, dword [ebp - 0x2c]
mov ecx, esi
mov eax, edi
and ecx, edx
and eax, dword [ebp - 0x24]
or ecx, eax
jne 0x1006b9ab
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x40]
cmp ecx, edx
jne 0x1006bb2f
inc edx
mov dword [ebp - 0x40], edx
jmp 0x1006bb2f
xor esi, esi
xor edi, edi
bts esi, eax
cmp eax, 0x20
cmovae edi, esi
xor esi, edi
cmp eax, 0x40
cmovae edi, esi
jmp 0x1006b96d
cmp dword [ebp - 0x48], 0
je 0x1006b9b7
mov edx, esi
mov ebx, edi
jmp 0x1006b9ba
mov ebx, dword [ebp - 0x24]
cmp dword [ebp - 0x20], 0
jne 0x1006b9cb
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1006b9cb
mov ecx, dword [eax]
jmp 0x1006b9cd
xor ecx, ecx
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x34], 0
jne 0x1006b9d9
inc dword [ebp - 0x34]
mov eax, dword [eax + 0xc]
test byte [eax + 0x22], 0x10
lea eax, [ebp - 0xd0]
je 0x1006ba09
push dword [ebp - 0x28]
push eax
push ecx
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
push ebx
mov ebx, dword [ebp - 0x4c]
push edx
push ebx
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.1001f630
add esp, 0x28
jmp 0x1006ba25
push eax
push ecx
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
push ebx
mov ebx, dword [ebp - 0x4c]
push edx
push ebx
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.1001eb90
add esp, 0x24
cmp dword [ebp - 0x48], 0
mov edx, dword [ebp - 0xd0]
je 0x1006ba3f
test edx, 0x100f3000
jne 0x1006ba3f
or dword [ebp - 0x58], esi
or dword [ebp - 0x38], edi
mov ecx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xac]
and ecx, dword [ebp - 0x2c]
and eax, dword [ebp - 0x24]
or ecx, eax
jne 0x1006bb19
mov eax, dword [ebp - 0x44]
test eax, eax
js 0x1006ba82
and esi, dword [ebp - 0x58]
and edi, dword [ebp - 0x38]
or esi, edi
jne 0x1006ba82
test dword [ebp - 0xa8], 0x100f3000
je 0x1006ba82
test edx, 0x100f3000
je 0x1006bb19
cmp dword [ebp - 0x34], 0
je 0x1006ba9a
cmp dword [ebx + 0x34], 0
je 0x1006ba9a
test edx, 0x100f3000
je 0x1006bb19
test eax, eax
js 0x1006bac2
movsd xmm0, qword [ebp - 0xb8]
movsd xmm1, qword [ebp - 0x54]
comisd xmm1, xmm0
ja 0x1006bac2
movsd xmm1, qword [ebp - 0x60]
jb 0x1006bb1e
comisd xmm1, xmmword [ebp - 0xc8]
jbe 0x1006bb1e
movdqu xmm0, xmmword [ebp - 0xc0]
mov ecx, dword [ebp - 0x14]
movdqu xmm2, xmmword [ebp - 0xd0]
mov dword [ebp - 0x44], ecx
movdqu xmmword [ebp - 0x98], xmm0
movq xmm0, qword [ebp - 0xb0]
movdqu xmmword [ebp - 0xa8], xmm2
movsd xmm1, qword [ebp - 0xa0]
movq qword [ebp - 0x88], xmm0
movsd xmm0, qword [ebp - 0x90]
movdqu xmmword [ebp - 0x78], xmm2
movsd qword [ebp - 0x54], xmm0
movsd qword [ebp - 0x60], xmm1
jmp 0x1006bb26
movsd xmm1, qword [ebp - 0x60]
movdqu xmm2, xmmword [ebp - 0x78]
mov ecx, dword [ebp - 0x14]
cmp dword [ebp - 0x64], 0
mov edx, dword [ebp - 0x40]
jne 0x1006bb4a
add dword [ebp - 0x28], 0x50
inc ecx
mov esi, dword [ebp - 0x10]
add ebx, 0x38
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x4c], ebx
cmp ecx, esi
jl 0x1006b920
jmp 0x1006bb4d
mov esi, dword [ebp - 0x10]
dec dword [ebp - 0x48]
mov ebx, dword [ebp - 0x44]
jns 0x1006b8e4
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xa8]
test eax, 0x1000000
je 0x1006bb72
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov edx, dword [ebp - 0xc]
and dword [ebp - 0x30], eax
movq xmm0, qword [ebp - 0x98]
movdqu xmmword [edx], xmm2
movq qword [edx + 0x10], xmm0
test eax, 0x200f0000
je 0x1006bb9e
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x44]
mov dword [edx + 0x20], eax
inc dword [ecx + 0x44]
jmp 0x1006bba5
mov dword [edx + 0x20], 0xffffffff
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, dword [eax + 0x160]
test edx, edx
jle 0x1006bbe0
mov esi, dword [ebp + 0xc]
lea eax, [ebx*8]
sub eax, ebx
mov esi, dword [esi + eax*8 + 0x20]
mov eax, dword [ebp - 8]
add eax, 0x164
lea esp, [esp]
cmp dword [eax], esi
je 0x1006bc59
inc ecx
add eax, 4
cmp ecx, edx
jl 0x1006bbd0
xorps xmm0, xmm0
movlpd qword [ebp - 0x54], xmm0
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0xc]
not eax
mov ecx, dword [ebp + 8]
not edx
and dword [ebp - 0x24], edx
and edi, eax
comisd xmm1, xmmword [0x1009c8c0]
mov dword [ebp - 0x2c], edi
mov byte [esi + 0x34], bl
jb 0x1006bc1d
mulsd xmm1, qword [ecx + 0x1c0]
movsd qword [ecx + 0x1c0], xmm1
mov edx, dword [ebp + 0xc]
lea eax, [ebx*8]
sub eax, ebx
mov eax, dword [edx + eax*8 + 0x3c]
test eax, eax
je 0x1006bc3d
test dword [ebp - 0xa8], 0xf0000
je 0x1006bc73
mov ecx, dword [ebp - 0x20]
add esi, 0x50
inc ecx
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x20], ecx
cmp ecx, esi
jge 0x1006bcab
mov edx, dword [ebp - 0x40]
jmp 0x1006b874
xor eax, eax
xor edx, edx
bts eax, ecx
cmp ecx, 0x20
cmovae edx, eax
xor eax, edx
cmp ecx, 0x40
cmovae edx, eax
jmp 0x1006bbee
push dword [eax]
push str.cannot_use_index:__s
push ecx
call fcn.10046bd0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
push ecx
push dword [ebp - 0x18]
movsd xmm0, qword [ecx + 0x20]
movsd qword [eax + 0x1c0], xmm0
call fcn.10072370
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x40], 0
jne 0x1006bc83
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x1e], 0
jne 0x1006bc83
mov eax, dword [ebp - 0x30]
and eax, 0x4000000
mov dword [ebp - 0x30], eax
je 0x1006bcdd
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1006bcda
mov dword [eax], 0
mov eax, dword [ebp - 0x30]
test byte [ebp + 0x18], 4
je 0x1006bcf2
test eax, eax
je 0x1006bcf2
mov byte [ecx + 6], 1
and dword [ecx + 0x30], 0xff7fffff
mov eax, dword [ebx + 0x1a8]
mov esi, ebx
test eax, eax
cmovne esi, eax
cmp dword [esi + 0x15c], 0
jne 0x1006bd46
mov edi, dword [esi + 0xc]
test edi, edi
jne 0x1006bd30
push dword [esi]
call fcn.1005fa10
mov edi, eax
add esp, 4
mov dword [esi + 0xc], edi
test edi, edi
je 0x1006bd46
push 0x88
push edi
call fcn.1005f0a0
add esp, 8
push 0
push 0
push 1
push edi
call fcn.1005f180
add esp, 0x10
inc eax
mov dword [esi + 0x15c], eax
mov edx, dword [ebp - 4]
movsd xmm0, qword [0x1009c8c0]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x28], 0xffffffff
movsd qword [edx + 0x28], xmm0
test ecx, ecx
jle 0x1006c012
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], ecx
jmp 0x1006bd80
movzx ecx, byte [edx + 0x34]
mov edi, 0xfff0bdc0
movsd xmm0, qword [edx + 8]
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [ebp + 0xc]
add ecx, 8
mov esi, dword [ecx + eax*8 + 0xc]
lea ebx, [ecx + eax*8]
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov dword [edx + 0x1c], eax
mov dword [ebp - 0xc], ebx
mulsd xmm0, qword [ecx + 0x28]
movsd qword [ecx + 0x28], xmm0
mov edx, dword [esi + 0x44]
test edx, edx
je 0x1006bde2
mov eax, dword [ebp - 0x18]
xor edi, edi
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x1006bddf
mov eax, dword [eax + 8]
add eax, 0xc
cmp dword [eax], edx
je 0x1006bddf
inc edi
add eax, 0x10
cmp edi, ecx
jl 0x1006bdd3
mov ecx, dword [ebp - 4]
test byte [esi + 0x22], 2
jne 0x1006be26
cmp dword [esi + 0x1c], 0
jne 0x1006be26
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test eax, 0x8000000
je 0x1006be52
mov eax, dword [esi + 0x34]
test eax, eax
je 0x1006be0f
mov ecx, dword [ebp - 0x18]
cmp dword [eax], ecx
je 0x1006be0f
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x1006be04
push 0xfffffffffffffff6
push eax
push 0
push 0
push dword [ebx + 0x18]
push 0x7f
push dword [ebp - 0x1c]
call fcn.1005f250
add esp, 0x1c
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
test eax, 0x20000000
je 0x1006bed7
push ecx
push dword [ebp - 0x28]
push dword [ebp - 0x20]
push ebx
push dword [ebp - 8]
push esi
call fcn.10024c30
add esp, 0x18
jmp 0x1006bfb2
test eax, 0x800000
jne 0x1006bebe
test byte [ebp + 0x18], 0x10
jne 0x1006bebe
xor eax, eax
cmp byte [ecx + 6], al
setne al
add eax, 0x26
push eax
push esi
push edi
push dword [ebx + 0x18]
push dword [ebp + 8]
call fcn.10051180
mov eax, dword [ebp - 4]
add esp, 0x14
cmp byte [eax + 6], 0
jne 0x1006be26
cmp dword [esi + 8], 0x40
jge 0x1006be26
mov edx, dword [ebx + 0x28]
xor esi, esi
mov ecx, dword [ebx + 0x2c]
mov eax, edx
or eax, ecx
je 0x1006bea5
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x1006be98
mov ecx, dword [ebp - 0x1c]
push 0xfffffffffffffff2
push esi
mov eax, dword [ecx + 0x1c]
dec eax
push eax
push ecx
call fcn.1005f5b0
add esp, 0x10
jmp 0x1006be26
push dword [esi]
push 0
push dword [esi + 0x14]
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.1005b0f0
add esp, 0x14
jmp 0x1006be29
test eax, 0xf0000
je 0x1006bfb2
mov esi, dword [ecx + 0x10]
push esi
push dword [ebp + 8]
call fcn.1004e110
mov dword [ebp - 0x34], eax
add esp, 8
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax + 0x20]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax + 0x1c]
cmp dword [eax + 0x20], esi
jg 0x1006bf22
push eax
call fcn.1002d960
add esp, 4
test eax, eax
je 0x1006bf1f
mov esi, 1
jmp 0x1006bf4d
mov eax, dword [ebp - 0x1c]
inc dword [eax + 0x1c]
lea ecx, [esi + esi*4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x64]
mov word [eax + ecx*4], 0x26
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax + 4]
mov ecx, dword [eax]
test ebx, ebx
je 0x1006bfa1
cmp byte [ecx + 0x1e], 0
jne 0x1006bfa1
test esi, esi
jns 0x1006bf67
mov esi, dword [eax + 0x1c]
dec esi
lea esi, [esi + esi*4]
push dword [ebx + esi*4 + 0x10]
movsx eax, byte [ebx + esi*4 + 1]
push eax
push ecx
call fcn.1002b2f0
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov dword [ebx + esi*4 + 0x10], 0
test eax, eax
jne 0x1006bf96
mov dword [ebx + esi*4 + 0x10], eax
mov byte [ebx + esi*4 + 1], al
jmp 0x1006bfaf
mov dword [ebx + esi*4 + 0x10], eax
mov byte [ebx + esi*4 + 1], 0xfa
jmp 0x1006bfaf
push dword [ebp - 0x34]
push 0xfffffffffffffff0
push ecx
call fcn.1002b2f0
add esp, 0xc
mov ebx, dword [ebp - 0xc]
push edi
push dword [ebp + 8]
call fcn.10043e00
mov eax, dword [ebp - 8]
add esp, 8
mov ecx, dword [eax + 4]
xor eax, eax
mov edx, dword [ecx]
test edx, edx
jle 0x1006bfe2
mov esi, dword [ebx + 0x18]
add ecx, 4
cmp dword [ecx], esi
je 0x1006c08a
inc eax
add ecx, 4
cmp eax, edx
jl 0x1006bfd2
xorps xmm0, xmm0
movlpd qword [ebp - 0x54], xmm0
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
not edx
not ecx
and dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x3c]
and dword [ebp - 0x20], ecx
add edx, 0x50
dec dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
jne 0x1006bd80
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x1c]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x1e], 0
jne 0x1006bc83
or ebx, 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
xor esi, esi
test ecx, ecx
jle 0x1006c081
lea edi, [edx + 0x5c]
jmp 0x1006c040
push dword [ebp + 0x18]
movzx eax, byte [edi + 8]
push eax
push esi
lea eax, [edi - 0x2c]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10026fb0
push dword [ebp - 0xc]
push ebx
push dword [ebp + 0x18]
push esi
push dword [ebp - 4]
call fcn.10022c20
mov ecx, dword [edi]
lea edi, [edi + 0x50]
mov dword [ebp - 0xc], edx
inc esi
mov edx, dword [ebp - 4]
add esp, 0x2c
mov ebx, eax
mov dword [edx + 0x10], ecx
cmp esi, dword [ebp - 0x10]
jl 0x1006c040
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
jmp 0x1006bff0