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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, ecx
mov byte [esp + 3], 0
push ebx
xor ecx, ecx
mov dword [esp + 0x10], eax
push esi
mov ebx, dword [eax + 8]
mov esi, edx
xor edx, edx
mov dword [esp + 0x54], ecx
push edi
mov dword [esp + 0x54], esi
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x5c], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x60], ecx
cmp dword [ebx + 0x70], ecx
jg 0x1008f81c
push edx
push edx
push edx
mov edx, 0x11
mov ecx, ebx
call fcn.10039e80
add esp, 0xc
mov dword [esp + 0x60], eax
jmp 0x1008f83f
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], edx
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0x14]
xor edi, edi
mov esi, dword [esi + 0x14]
movlpd qword [esp + 0x40], xmm0
mov eax, dword [edx + 0x10]
mov ecx, dword [ecx + 0x48]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x1c], edi
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*2]
shl eax, 4
add eax, esi
mov dword [esp + 0x50], eax
cmp esi, eax
mov eax, dword [esp + 0x40]
jae 0x1008fa60
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x28]
mov edi, dword [esi]
mov eax, dword [ebx]
or eax, dword [ebx + 4]
jne 0x1008f908
test byte [esi + 0xa], 2
jne 0x1008f908
test byte [edi + 4], 1
jne 0x1008f908
mov eax, 3
mov dword [esp + 0x68], fcn.10050aa0
mov word [esp + 0x78], ax
lea ecx, [esp + 0x64]
mov eax, dword [edx + 0x2c]
mov edx, edi
mov dword [esp + 0x6c], 0x10050930
mov dword [esp + 0x7c], eax
call fcn.1004bd50
cmp word [esp + 0x78], 0
je 0x1008f901
mov ebx, dword [esp + 0x18]
mov edx, edi
push 0
push 0
mov ecx, dword [ebx]
call fcn.1004f8d0
mov edx, dword [esp + 0x38]
mov ecx, ebx
push eax
call fcn.1004f420
add esp, 0xc
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x14]
cmp eax, dword [edx + 0x2c]
jne 0x1008fa47
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x1008fa43
test byte [edx + 0x24], 8
je 0x1008f937
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x1008f937
test cl, cl
js 0x1008fa43
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x1008fa43
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x1008fa43
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*4]
mov eax, dword [eax + 4]
mov bl, byte [eax + ecx*4 + 0xd]
mov ecx, dword [esi]
call fcn.1004e910
cmp al, 0x42
jl 0x1008f98a
jne 0x1008f97a
xor eax, eax
cmp bl, 0x42
sete al
jmp 0x1008f982
xor eax, eax
cmp bl, 0x43
setge al
test eax, eax
je 0x1008fa40
mov ecx, dword [esi + 0x1c]
xor edi, edi
cmp ecx, 0x40
jl 0x1008f99b
mov ebx, 0x80000000
jmp 0x1008f9b0
mov eax, ecx
xor ebx, ebx
bts edi, eax
cmp eax, 0x20
cmovae ebx, edi
xor edi, ebx
cmp eax, 0x40
cmovae ebx, edi
cmp byte [esp + 0xf], 0
jne 0x1008f9dd
mov edx, dword [esp + 0x3c]
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 4]
push dword [eax + ecx*4]
push dword [edx]
push str.automatic_index_on__s__s_
push 0x11c
call fcn.1001b980
add esp, 0x10
mov byte [esp + 0xf], 1
mov ecx, edi
mov eax, ebx
and ecx, dword [esp + 0x14]
and eax, dword [esp + 0x10]
or ecx, eax
jne 0x1008fa40
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x4c], eax
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
call fcn.10090720
add esp, 4
test eax, eax
jne 0x1009024b
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
or eax, edi
or ecx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jmp 0x1008fa4b
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add esi, 0x30
cmp esi, dword [esp + 0x50]
jb 0x1008f890
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
not eax
not ecx
or ecx, 0x80000000
mov word [esi + 0x28], di
mov word [esi + 0x18], di
mov dword [esi + 0x24], 0x4241
xor esi, esi
and eax, dword [edx + 0x38]
mov edi, dword [edx + 0x3c]
and ecx, edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x4c], edi
movzx ecx, word [eax + 0x2a]
mov eax, 0x3f
mov dword [esp + 0x40], ecx
cmp ax, cx
jge 0x1008faaf
mov dword [esp + 0x38], eax
jmp 0x1008faba
movsx eax, cx
mov dword [esp + 0x38], eax
test eax, eax
jle 0x1008faf8
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x10]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x14]
and ecx, edi
or edx, ecx
je 0x1008fae7
inc dword [esp + 0x1c]
inc esi
cmp esi, ebx
jl 0x1008fac2
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
and edi, 0x80000000
xor eax, eax
or eax, edi
je 0x1008fb16
movsx eax, cx
mov ecx, dword [esp + 0x1c]
add ecx, 0xffffffc1
add ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x1008fb1a
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x4c]
push eax
lea edx, [ecx + 1]
push 0
mov ecx, dword [esi]
call fcn.10060d60
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
je 0x1009024f
mov ecx, dword [esp + 0x28]
xor edi, edi
xorps xmm0, xmm0
mov dword [esp + 0x2c], edi
movlpd qword [esp + 0x40], xmm0
mov dword [ecx + 0x20], eax
mov ecx, dword [esp + 0x3c]
mov dword [eax], str.auto_index
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x54]
mov esi, dword [eax + 0x14]
mov dword [esp + 0x34], esi
cmp esi, dword [esp + 0x50]
jae 0x1008fcf0
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x18]
mov edx, dword [ebp + 8]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x40], eax
lea ecx, [ecx]
mov eax, dword [esi + 0x14]
cmp eax, dword [edx + 0x2c]
jne 0x1008fcdb
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x1008fcdb
test byte [edx + 0x24], 8
je 0x1008fbbf
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x1008fbbf
test cl, cl
js 0x1008fcdb
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x1008fcdb
mov ecx, dword [esi + 0x1c]
test ecx, ecx
js 0x1008fcdb
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*4]
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*4 + 0xd]
mov ecx, dword [esi]
mov byte [esp + 0xf], al
call fcn.1004e910
cmp al, 0x42
jl 0x1008fc1a
jne 0x1008fc08
xor eax, eax
cmp byte [esp + 0xf], 0x42
sete al
jmp 0x1008fc12
xor eax, eax
cmp byte [esp + 0xf], 0x43
setge al
test eax, eax
je 0x1008fcd8
mov eax, dword [esi + 0x1c]
xor edx, edx
cmp eax, 0x40
jl 0x1008fc2b
mov esi, 0x80000000
jmp 0x1008fc3e
xor esi, esi
bts edx, eax
cmp eax, 0x20
cmovae esi, edx
xor edx, esi
cmp eax, 0x40
cmovae esi, edx
mov ecx, edx
mov eax, esi
and ecx, dword [esp + 0x40]
and eax, dword [esp + 0x4c]
or ecx, eax
jne 0x1008fcd4
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
or dword [esp + 0x40], edx
mov edx, dword [esp + 0x2c]
mov edi, dword [eax]
mov ecx, dword [ecx + 4]
mov ax, word [eax + 0x1c]
or dword [esp + 0x4c], esi
mov word [ecx + edx*2], ax
test dword [edi + 4], 0x200
je 0x1008fc84
mov esi, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
jmp 0x1008fc8a
mov esi, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
test dword [edx + 4], 0x100
jne 0x1008fcad
test esi, esi
je 0x1008fca0
test dword [esi + 4], 0x100
jne 0x1008fcab
mov ecx, ebx
call fcn.1004e730
test eax, eax
jne 0x1008fcb8
mov edx, esi
mov ecx, ebx
call fcn.1004e730
test eax, eax
je 0x1008fcbc
mov ecx, dword [eax]
jmp 0x1008fcc1
mov ecx, 0x100bd15c
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov eax, dword [eax + 0x20]
mov dword [eax + edi*4], ecx
inc edi
mov dword [esp + 0x2c], edi
mov esi, dword [esp + 0x34]
mov edx, dword [ebp + 8]
add esi, 0x30
mov dword [esp + 0x34], esi
cmp esi, dword [esp + 0x50]
jb 0x1008fb90
mov ebx, dword [esp + 0x20]
xor esi, esi
cmp dword [esp + 0x38], esi
jle 0x1008fd44
mov ebx, dword [esp + 0x24]
lea esp, [esp]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x14]
and ecx, dword [esp + 0x10]
or edx, ecx
je 0x1008fd35
mov eax, dword [ebx + 4]
mov word [eax + edi*2], si
mov eax, dword [ebx + 0x20]
mov dword [eax + edi*4], 0x100bd15c
inc edi
inc esi
cmp esi, dword [esp + 0x38]
jl 0x1008fd00
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x2c], edi
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x3c]
and ecx, 0x80000000
or eax, ecx
je 0x1008fd8f
mov esi, dword [esp + 0x3c]
mov eax, 0x3f
cmp ax, word [esi + 0x2a]
jge 0x1008fd8f
mov ecx, eax
jmp 0x1008fd70
mov eax, dword [edx + 4]
mov word [eax + edi*2], cx
inc ecx
mov eax, dword [edx + 0x20]
mov dword [eax + edi*4], 0x100bd15c
inc edi
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x1008fd70
mov dword [esp + 0x2c], edi
mov eax, dword [edx + 4]
or ecx, 0xffffffff
mov word [eax + edi*2], cx
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x1c]
inc edx
mov dword [eax + edi*4], 0x100bd15c
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
mov dword [ecx + 8], eax
inc dword [edi + 0x28]
mov esi, dword [ecx + 8]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x1008fdd8
push 0
push edx
push esi
mov edx, 0x63
mov ecx, ebx
call fcn.10039e80
add esp, 0xc
jmp 0x1008fe07
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x63
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x24]
mov ecx, edi
mov esi, dword [edi + 8]
call fcn.10063350
mov edx, eax
test edx, edx
je 0x1008fe45
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x1008fe33
push edx
mov edx, 0xfffffff7
call fcn.1003aba0
add esp, 4
jmp 0x1008fe45
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov edx, dword [ebp + 0x14]
movzx eax, byte [edx + 0x34]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 0x30], 0x10
lea edi, [eax + ecx*8]
je 0x1008ff53
mov ecx, dword [ebx + 0x6c]
mov edx, dword [edi + 0x24]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
cmp dword [ebx + 0x70], ecx
jg 0x1008fe98
push 0
push 0
push 0
mov edx, 0x45
mov ecx, ebx
call fcn.10039e80
mov edx, dword [esp + 0x60]
add esp, 0xc
mov dword [esp + 0x58], eax
jmp 0x1008fecb
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
mov esi, dword [edi + 0x20]
cmp dword [ebx + 0x70], ecx
jg 0x1008feef
push esi
push 0
push edx
mov edx, 0xd
mov ecx, ebx
call fcn.10039e80
mov edx, dword [esp + 0x60]
add esp, 0xc
jmp 0x1008ff1e
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], esi
jg 0x1008ff3e
push 0
push 0
push edx
mov edx, 0xe
mov ecx, ebx
call fcn.10039e80
add esp, 0xc
mov esi, eax
jmp 0x1008ffa9
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xe
jmp 0x1008ff89
mov esi, dword [ebx + 0x6c]
mov edx, dword [edx + 4]
cmp dword [ebx + 0x70], esi
jg 0x1008ff76
push 0
push 0
push edx
mov edx, 0x25
mov ecx, ebx
call fcn.10039e80
add esp, 0xc
mov esi, eax
jmp 0x1008ffa9
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x25
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 4], edx
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x1008ffd7
mov eax, dword [esp + 0x18]
push 0x10
dec dword [eax + 0x38]
mov edx, dword [eax + 0x38]
push edx
push ecx
push eax
mov dword [esp + 0x6c], edx
call fcn.100558d0
mov eax, dword [esp + 0x38]
add esp, 0x10
or dword [eax + 0x24], 0x20000
mov ecx, dword [esp + 0x18]
mov al, byte [ecx + 0x13]
test al, al
jne 0x1008ffea
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
jmp 0x1008fff9
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x94]
mov edx, dword [esp + 0x24]
push 0
push 0
push 0
push 0
push eax
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
call fcn.10065520
mov ecx, dword [ebx + 0x6c]
add esp, 0x18
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0x54], eax
cmp dword [ebx + 0x70], ecx
jg 0x10090047
mov edx, dword [esp + 0x3c]
mov ecx, ebx
push 0
push edx
push eax
mov edx, 0x83
call fcn.10039e80
add esp, 0xc
jmp 0x1009007a
mov edx, dword [esp + 0x54]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x83
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x10090091
lea ecx, [eax + eax*4]
mov edx, 0x10
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], dx
cmp dword [esp + 0x30], 0
je 0x100900bf
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x5c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x100900b6
push edx
mov edx, ebx
call fcn.1003a710
add esp, 4
jmp 0x100900bf
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
test byte [edi + 0x30], 0x10
je 0x1009016c
mov ecx, dword [esp + 0x58]
test ecx, ecx
jns 0x100900d5
mov ecx, dword [ebx + 0x6c]
dec ecx
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x100900e4
mov ecx, 0x100d03e4
jmp 0x100900ed
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x50]
mov edx, esi
add eax, dword [esp + 0x2c]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
push dword [eax + 8]
push dword [edi + 0x28]
push dword [eax + 4]
call fcn.1008f6b0
mov ecx, dword [ebx + 0x6c]
add esp, 0xc
cmp dword [ebx + 0x70], ecx
jg 0x10090137
push 0
push esi
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.10039e80
add esp, 0xc
and dword [edi + 0x30], 0xffffffef
jmp 0x100901d7
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
and dword [edi + 0x30], 0xffffffef
jmp 0x100901d7
mov eax, dword [ebp + 0x14]
lea edx, [esi + 1]
mov ecx, dword [ebx + 0x6c]
mov edi, dword [eax + 4]
cmp dword [ebx + 0x70], ecx
jg 0x10090192
push 0
push edx
push edi
mov edx, 5
mov ecx, ebx
call fcn.10039e80
add esp, 0xc
jmp 0x100901c0
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
lea edx, [esi + 1]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x100901d7
lea ecx, [eax + eax*4]
mov edx, 3
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [ebx + 0x6c]
test esi, esi
jns 0x100901e1
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x100901f0
mov eax, 0x100d03e4
jmp 0x100901f9
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
mov dword [eax + 8], edx
test ecx, ecx
je 0x1009021c
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x1009021c
movzx eax, al
mov dword [esi + eax*4 + 0x94], ecx
inc byte [esi + 0x13]
mov ecx, dword [esp + 0x60]
mov edx, dword [ebx + 0x6c]
test ecx, ecx
jns 0x1009022a
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x1009023c
mov eax, 0x100d03e4
mov dword [eax + 8], edx
jmp 0x1009024f
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x1009024f
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10090260
mov ecx, dword [esi]
mov edx, eax
call fcn.1004f6f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret