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

Disassembly:
sub esp, 0x44
push ebx
push ebp
mov ebp, dword [esp + 0x50]
push esi
mov esi, dword [esp + 0x68]
push edi
mov eax, dword [ebp + 0xa94]
imul edi, esi, 0x2c
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0xa98]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x24], edi
mov cl, byte [edi + ebp + 0x10df8]
mov edx, dword [edi + ebp + 0x10e08]
test cl, cl
je 0x100f4f12
dec edx
cmp byte [edi + ebp + 0x10df9], 0
je 0x100f4ef0
imul eax, dword [edi + ebp + 0x10dfc], 0x2c
xor ebx, ebx
cmp dword [edi + ebp + 0x10e00], 4
mov eax, dword [eax + ebp + 0x10df4]
jae 0x100f4ee1
cmp eax, 7
setge bl
dec ebx
and ebx, 0xfffffffd
add ebx, 0xb
jmp 0x100f4efa
cmp eax, 7
setge bl
dec ebx
and ebx, 0xfffffffd
add ebx, 0xa
jmp 0x100f4efa
imul eax, edx, 0x2c
mov ebx, dword [eax + ebp + 0x10df4]
cmp ebx, 3
jg 0x100f4f03
xor ebx, ebx
jmp 0x100f4f1c
cmp ebx, 9
jg 0x100f4f0d
sub ebx, 3
jmp 0x100f4f1c
sub ebx, 6
jmp 0x100f4f1c
imul eax, edx, 0x2c
mov ebx, dword [eax + ebp + 0x10df4]
lea eax, [esi - 1]
cmp edx, eax
jne 0x100f4f72
cmp dword [edi + ebp + 0x10e0c], 0
jne 0x100f4f45
xor eax, eax
cmp ebx, 7
setge al
lea ebx, [eax*2 + 9]
mov dword [esp + 0x18], ebx
jmp 0x100f5042
cmp ebx, 3
jg 0x100f4f55
xor ebx, ebx
mov dword [esp + 0x18], ebx
jmp 0x100f5042
cmp ebx, 9
jg 0x100f4f66
sub ebx, 3
mov dword [esp + 0x18], ebx
jmp 0x100f5042
sub ebx, 6
mov dword [esp + 0x18], ebx
jmp 0x100f5042
test cl, cl
je 0x100f4fa1
cmp byte [edi + ebp + 0x10df9], 0
je 0x100f4fa1
mov edx, dword [edi + ebp + 0x10dfc]
xor eax, eax
mov esi, dword [edi + ebp + 0x10e00]
cmp ebx, 7
setge al
lea ebx, [eax - 1]
and ebx, 0xfffffffd
add ebx, 0xb
jmp 0x100f4fcf
mov esi, dword [edi + ebp + 0x10e0c]
xor eax, eax
cmp esi, 4
jae 0x100f4fc0
cmp ebx, 7
setge al
lea ebx, [eax - 1]
and ebx, 0xfffffffd
add ebx, 0xb
jmp 0x100f4fcf
cmp ebx, 7
setge al
lea ebx, [eax - 1]
and ebx, 0xfffffffd
add ebx, 0xa
mov dword [esp + 0x18], ebx
cmp esi, 4
jae 0x100f5214
mov ecx, dword [esp + 0x5c]
imul edi, edx, 0xb
lea eax, [edi + esi]
mov eax, dword [ebp + eax*4 + 0x10e10]
mov dword [ecx], eax
mov ecx, 1
cmp esi, ecx
jb 0x100f501e
imul eax, edx, 0x2c
lea edx, [ebp + 0x10e10]
mov ebp, dword [esp + 0x5c]
add edx, eax
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [ebp + ecx*4], eax
inc ecx
cmp ecx, esi
jbe 0x100f5007
mov ebp, dword [esp + 0x58]
cmp ecx, 4
jae 0x100f503e
mov esi, dword [esp + 0x5c]
lea eax, [edi + ecx]
lea edx, [eax*4 + 0x10e10]
add edx, ebp
mov edi, edi
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, 4
jb 0x100f5030
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x6c]
mov dword [edi + ebp + 0x10df4], ebx
mov ebx, dword [esp + 0x5c]
imul ecx, edx, 0xb
mov eax, dword [ebx]
mov dword [ebp + ecx*4 + 0x10e10], eax
mov eax, dword [ebx + 4]
mov dword [edi + ebp + 0x10e14], eax
mov eax, dword [ebx + 8]
mov dword [ebp + ecx*4 + 0x10e18], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp + ecx*4 + 0x10e1c], eax
lea eax, [edx + 0x623]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
imul eax, eax, 0x2c
mov bh, byte [edx]
mov esi, dword [eax + ebp]
mov eax, edx
sub eax, dword [ecx]
mov cl, byte [eax - 1]
mov eax, dword [ebp + 0xaa0]
and eax, dword [esp + 0x68]
mov dword [esp + 0x28], eax
lea eax, [edx - 1]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
shl eax, 4
add eax, dword [esp + 0x28]
cmp dword [esp + 0x18], 7
mov dword [esp + 0x20], eax
movzx eax, bh
push eax
movzx eax, cl
push eax
setge al
mov byte [esp + 0x1b], cl
movzx eax, al
push eax
mov eax, dword [esp + 0x3c]
movzx eax, byte [eax]
push eax
push dword [esp + 0x78]
push ebp
call fcn.100f4750
mov ecx, dword [esp + 0x38]
add eax, esi
mov edi, dword [esp + 0x3c]
add esp, 0x18
xor bl, bl
movzx ecx, word [ebp + ecx*2 + 0x6aac]
shr ecx, 4
movzx ecx, byte [ecx + 0x101c1200]
add ecx, eax
mov eax, dword [esp + 0x6c]
add eax, 0x624
mov dword [esp + 0x38], ecx
imul edx, eax, 0x2c
add edx, ebp
cmp ecx, dword [edx]
jae 0x100f5140
mov eax, dword [esp + 0x6c]
mov dword [edx], ecx
mov dword [edi + ebp + 0x10e34], eax
mov byte [edi + ebp + 0x10e24], bl
mov bl, 1
mov dword [edi + ebp + 0x10e38], 0xffffffff
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
movzx eax, word [ebp + eax*2 + 0x6aac]
xor eax, 0x7f0
shr eax, 4
movzx eax, byte [eax + 0x101c1200]
add eax, esi
mov dword [esp + 0x3c], eax
lea eax, [ecx*2 + 0x6c2c]
add eax, ebp
mov dword [esp + 0x50], eax
movzx eax, word [eax]
xor eax, 0x7f0
shr eax, 4
movzx eax, byte [eax + 0x101c1200]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
mov al, byte [esp + 0x13]
cmp al, bh
jne 0x100f51ff
mov esi, dword [esp + 0x6c]
cmp dword [edi + ebp + 0x10e34], esi
jae 0x100f51ab
cmp dword [edi + ebp + 0x10e38], 0
je 0x100f51ff
movzx eax, word [ebp + ecx*2 + 0x6c44]
shr eax, 4
movzx ecx, byte [eax + 0x101c1200]
mov eax, dword [esp + 0x20]
add ecx, dword [esp + 0x34]
movzx eax, word [ebp + eax*2 + 0x6c8c]
shr eax, 4
movzx eax, byte [eax + 0x101c1200]
add eax, ecx
cmp eax, dword [edx]
ja 0x100f51fb
mov dword [edx], eax
mov bl, 1
mov dword [edi + ebp + 0x10e34], esi
mov dword [edi + ebp + 0x10e38], 0
mov byte [edi + ebp + 0x10e24], 0
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x74]
cmp ecx, 2
jae 0x100f5246
mov eax, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
imul ecx, edx, 0xb
lea eax, [esi - 4]
mov esi, dword [esp + 0x5c]
mov dword [esi], eax
mov eax, dword [ebp + ecx*4 + 0x10e10]
mov dword [esi + 4], eax
imul eax, edx, 0x2c
mov eax, dword [eax + ebp + 0x10e14]
mov dword [esi + 8], eax
mov eax, dword [ebp + ecx*4 + 0x10e18]
mov dword [esi + 0xc], eax
jmp 0x100f5042
mov edx, dword [esp + 0x70]
mov dword [esp + 0x2c], ecx
cmp ecx, edx
jb 0x100f5256
mov dword [esp + 0x2c], edx
test bl, bl
jne 0x100f53d9
cmp al, bh
je 0x100f53d9
mov eax, dword [esp + 0x5c]
lea esi, [edx + 1]
mov ebx, dword [esp + 0x60]
mov edi, ebx
sub edi, dword [eax]
mov eax, ecx
dec edi
cmp eax, esi
jae 0x100f527e
mov esi, eax
mov ecx, 1
cmp esi, ecx
jbe 0x100f52b7
lea eax, [ebx + 1]
sub edi, ebx
lea esp, [esp]
mov edx, dword [eax]
sub edx, dword [edi + eax]
jne 0x100f52a3
add ecx, 4
add eax, 4
cmp ecx, esi
jb 0x100f5290
jmp 0x100f52b7
test dx, dx
jne 0x100f52ae
add ecx, 2
shr edx, 0x10
test dl, dl
jne 0x100f52b3
inc ecx
cmp ecx, esi
jb 0x100f52b9
mov ecx, esi
lea ebx, [ecx - 1]
cmp ebx, 2
jb 0x100f53d9
mov eax, dword [esp + 0x18]
cmp eax, 3
jg 0x100f52d2
xor edx, edx
jmp 0x100f52dd
lea edx, [eax - 3]
cmp eax, 9
jle 0x100f52dd
lea edx, [eax - 6]
mov edi, dword [esp + 0x68]
mov esi, edx
movzx eax, word [ebp + edx*2 + 0x6c2c]
inc edi
and edi, dword [ebp + 0xaa0]
xor eax, 0x7f0
shr eax, 4
shl esi, 4
add esi, edi
mov dword [esp + 0x24], esi
movzx ecx, byte [eax + 0x101c1200]
add ecx, dword [esp + 0x38]
movzx eax, word [ebp + esi*2 + 0x6aac]
mov esi, dword [esp + 0x6c]
xor eax, 0x7f0
shr eax, 4
inc esi
add esi, ebx
movzx eax, byte [eax + 0x101c1200]
add eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
cmp eax, esi
jae 0x100f535f
add eax, 0x623
mov ecx, esi
sub ecx, dword [esp + 0x64]
imul eax, eax, 0x2c
add eax, ebp
add dword [esp + 0x14], ecx
mov dword [eax + 0x2c], 0x40000000
lea eax, [eax + 0x2c]
dec ecx
jne 0x100f5352
mov eax, dword [esp + 0x24]
movzx eax, word [ebp + eax*2 + 0x6c8c]
xor eax, 0x7f0
shr eax, 4
movzx ecx, byte [eax + 0x101c1200]
movzx eax, word [ebp + edx*2 + 0x6c44]
shr eax, 4
movzx eax, byte [eax + 0x101c1200]
add ecx, eax
imul eax, edi, 0x110
mov edi, dword [esp + 0x6c]
add eax, ebx
add ecx, dword [ebp + eax*4 + 0xbd54]
lea eax, [esi + 0x623]
add ecx, dword [esp + 0x38]
imul eax, eax, 0x2c
cmp ecx, dword [eax + ebp]
jae 0x100f53e5
mov dword [eax + ebp], ecx
lea eax, [edi + 1]
imul ecx, esi, 0x2c
add ecx, ebp
mov dword [ecx + 0x10e08], eax
mov dword [ecx + 0x10e0c], 0
mov word [ecx + 0x10df8], 1
jmp 0x100f53e5
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x60]
xor ebx, ebx
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x5c]
mov ecx, edx
sub ecx, dword [eax + ebx*4]
mov ax, word [edx]
dec ecx
mov dword [esp + 0x38], ecx
cmp ax, word [ecx]
jne 0x100f5703
mov edi, dword [esp + 0x2c]
mov esi, 2
cmp edi, esi
jbe 0x100f544e
lea eax, [edx + 2]
mov edx, ecx
sub edx, dword [esp + 0x60]
mov ecx, dword [eax]
sub ecx, dword [edx + eax]
jne 0x100f543a
add esi, 4
add eax, 4
cmp esi, edi
jb 0x100f5427
jmp 0x100f544e
test cx, cx
jne 0x100f5445
add esi, 2
shr ecx, 0x10
test cl, cl
jne 0x100f544a
inc esi
cmp esi, edi
jb 0x100f5450
mov esi, edi
mov edi, dword [esp + 0x6c]
mov edx, dword [esp + 0x14]
add edi, esi
cmp edx, edi
jae 0x100f5480
lea eax, [edx + 0x623]
mov ecx, edi
imul eax, eax, 0x2c
sub ecx, edx
add eax, ebp
add edx, ecx
mov dword [esp + 0x14], edx
mov dword [eax + 0x2c], 0x40000000
lea eax, [eax + 0x2c]
dec ecx
jne 0x100f5473
push dword [esp + 0x28]
mov dword [esp + 0x24], esi
push dword [esp + 0x1c]
push ebx
push ebp
call fcn.100f4800
mov ebx, eax
add esp, 0x10
imul eax, dword [esp + 0x28], 0x110
add ebx, dword [esp + 0x34]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], eax
lea ecx, [eax + 0x2f55]
add ecx, esi
lea edx, [ecx*4]
imul ecx, edi, 0x2c
mov edi, dword [esp + 0x24]
add edx, ebp
add ebp, 0x10e0c
add ecx, ebp
mov ebp, dword [esp + 0x6c]
mov eax, dword [edx]
add eax, ebx
cmp eax, dword [ecx - 8]
jae 0x100f54e5
mov dword [ecx - 8], eax
mov dword [ecx - 4], ebp
mov dword [ecx], edi
mov byte [ecx - 0x14], 0
dec esi
sub edx, 4
sub ecx, 0x2c
cmp esi, 2
jae 0x100f54d0
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x58]
mov ecx, dword [esp + 0x20]
test ebx, ebx
jne 0x100f5508
lea eax, [ecx + 1]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x70]
lea edi, [ecx + 1]
mov eax, dword [esp + 0x74]
add edx, edi
cmp eax, edx
jae 0x100f551b
mov edx, eax
cmp edi, edx
jae 0x100f5541
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x38]
sub esi, eax
lea ecx, [edi + eax]
lea esp, [esp]
mov al, byte [ecx]
cmp al, byte [ecx + esi]
jne 0x100f553d
inc edi
inc ecx
cmp edi, edx
jb 0x100f5530
mov ecx, dword [esp + 0x20]
or eax, 0xffffffff
sub eax, ecx
add edi, eax
cmp edi, 2
jb 0x100f56fb
mov eax, dword [esp + 0x60]
xor ebx, ebx
cmp dword [esp + 0x18], 7
mov esi, dword [esp + 0x68]
setge bl
add esi, ecx
movzx eax, byte [ecx + eax]
dec ebx
push eax
mov eax, dword [esp + 0x3c]
and ebx, 0xfffffffd
add ebx, 0xb
movzx eax, byte [ecx + eax]
push eax
mov eax, dword [esp + 0x38]
push 1
movzx eax, byte [eax + ecx]
push eax
push esi
push ebp
call fcn.100f4750
and esi, dword [ebp + 0xaa0]
mov ecx, ebx
shl ecx, 4
add esp, 0x18
add esi, ecx
movzx ecx, word [ebp + esi*2 + 0x6aac]
shr ecx, 4
movzx edx, byte [ecx + 0x101c1200]
mov ecx, dword [esp + 0x20]
add edx, eax
mov eax, dword [esp + 0x44]
add eax, ecx
add edx, dword [ebp + eax*4 + 0xbd54]
add edx, dword [esp + 0x48]
cmp ebx, 3
jg 0x100f55ce
xor ebx, ebx
jmp 0x100f55db
cmp ebx, 9
jg 0x100f55d8
sub ebx, 3
jmp 0x100f55db
sub ebx, 6
mov esi, dword [esp + 0x68]
inc ecx
add esi, ecx
mov eax, ebx
and esi, dword [ebp + 0xaa0]
shl eax, 4
add eax, esi
mov dword [esp + 0x38], eax
movzx eax, word [ebp + ebx*2 + 0x6c2c]
xor eax, 0x7f0
shr eax, 4
movzx ecx, byte [eax + 0x101c1200]
mov eax, dword [esp + 0x38]
add ecx, edx
mov edx, dword [esp + 0x6c]
inc edx
movzx eax, word [ebp + eax*2 + 0x6aac]
xor eax, 0x7f0
shr eax, 4
movzx eax, byte [eax + 0x101c1200]
add eax, ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
add eax, edi
add edx, eax
mov eax, dword [esp + 0x14]
cmp eax, edx
jae 0x100f566d
add eax, 0x623
mov ecx, edx
sub ecx, dword [esp + 0x14]
imul eax, eax, 0x2c
add eax, ebp
add dword [esp + 0x14], ecx
jmp 0x100f5660
mov dword [eax + 0x2c], 0x40000000
lea eax, [eax + 0x2c]
dec ecx
jne 0x100f5660
mov eax, dword [esp + 0x38]
movzx eax, word [ebp + eax*2 + 0x6c8c]
xor eax, 0x7f0
shr eax, 4
movzx ecx, byte [eax + 0x101c1200]
movzx eax, word [ebp + ebx*2 + 0x6c44]
shr eax, 4
mov ebx, dword [esp + 0x24]
movzx eax, byte [eax + 0x101c1200]
add ecx, eax
imul eax, esi, 0x110
add eax, edi
mov edi, dword [esp + 0x6c]
add ecx, dword [ebp + eax*4 + 0xbd54]
lea eax, [edx + 0x623]
add ecx, dword [esp + 0x48]
imul eax, eax, 0x2c
cmp ecx, dword [eax + ebp]
jae 0x100f56ff
mov dword [eax + ebp], ecx
mov eax, dword [esp + 0x20]
imul ecx, edx, 0x2c
inc eax
add ecx, ebp
add eax, edi
mov dword [ecx + 0x10e08], eax
mov dword [ecx + 0x10e0c], 0
mov word [ecx + 0x10df8], 0x101
mov dword [ecx + 0x10dfc], edi
mov dword [ecx + 0x10e00], ebx
jmp 0x100f56ff
mov edi, dword [esp + 0x6c]
mov edx, dword [esp + 0x60]
inc ebx
mov dword [esp + 0x24], ebx
cmp ebx, 4
jb 0x100f53f7
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
cmp edx, ecx
jbe 0x100f5744
lea eax, [ebp + 0x204]
xor ebx, ebx
mov edx, ecx
cmp ecx, dword [eax]
jbe 0x100f5738
jmp 0x100f5730
lea eax, [eax + 8]
inc ebx
cmp ecx, dword [eax]
ja 0x100f5730
mov dword [ebp + ebx*8 + 0x204], ecx
inc ebx
mov dword [esp + 0x40], ebx
mov esi, dword [esp + 0x1c]
cmp edx, esi
jb 0x100f5ade
mov eax, dword [esp + 0x50]
lea ecx, [edx + edi]
mov edx, dword [esp + 0x14]
movzx eax, word [eax]
shr eax, 4
movzx eax, byte [eax + 0x101c1200]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
cmp edx, ecx
jae 0x100f579d
lea eax, [edx + 0x623]
sub ecx, edx
imul eax, eax, 0x2c
add eax, ebp
add edx, ecx
mov dword [esp + 0x14], edx
jmp 0x100f5790
mov dword [eax + 0x2c], 0x40000000
lea eax, [eax + 0x2c]
dec ecx
jne 0x100f5790
xor ecx, ecx
lea eax, [ebp + 0x204]
mov dword [esp + 0x5c], ecx
cmp esi, dword [eax]
jbe 0x100f57bc
lea ecx, [ecx]
lea eax, [eax + 8]
inc ecx
cmp esi, dword [eax]
ja 0x100f57b0
mov dword [esp + 0x5c], ecx
imul eax, dword [esp + 0x28], 0x110
lea edx, [ecx*8 + 0x204]
add edx, ebp
mov dword [esp + 0x58], edx
add eax, esi
lea ecx, [eax*4 + 0x750c]
lea eax, [esi + edi]
add ecx, ebp
imul edi, eax, 0x2c
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x70]
mov dword [esp + 0x48], eax
mov eax, 0xfffffffd
add edi, 0x10e0c
add edi, ebp
sub eax, dword [esp + 0x70]
mov dword [esp + 0x28], eax
mov ebx, dword [edx + 4]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], ebx
cmp esi, 6
jae 0x100f5824
mov esi, dword [esp + 0x70]
inc esi
add esi, eax
add esi, dword [esp + 0x1c]
jmp 0x100f5829
mov esi, 3
cmp ebx, 0x80
jae 0x100f583f
shl esi, 7
add esi, ebx
mov eax, dword [ebp + esi*4 + 0x105a0]
jmp 0x100f5875
bsr eax, ebx
shl esi, 5
mov edx, eax
mov dword [esp + 0x50], eax
mov eax, ebx
add esi, edx
lea ecx, [edx - 1]
mov edx, dword [esp + 0x58]
shr eax, cl
mov ecx, ebx
and eax, 1
and ecx, 0xf
lea eax, [eax + esi*2]
mov eax, dword [ebp + eax*4 + 0x101a0]
add eax, dword [ebp + ecx*4 + 0x10da8]
mov ecx, dword [esp + 0x2c]
add eax, dword [esp + 0x4c]
add eax, dword [ecx]
mov dword [esp + 0x38], eax
cmp eax, dword [edi - 8]
jae 0x100f5897
mov dword [edi - 8], eax
mov eax, dword [esp + 0x6c]
mov dword [edi - 4], eax
lea eax, [ebx + 4]
mov dword [edi], eax
mov byte [edi - 0x14], 0
mov esi, dword [esp + 0x1c]
cmp esi, dword [edx]
jne 0x100f5aca
mov edx, dword [esp + 0x70]
lea ecx, [esi + 1]
mov edi, dword [esp + 0x60]
inc edx
mov eax, dword [esp + 0x1c]
sub edi, ebx
add eax, edx
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x74]
dec edi
mov dword [esp + 0x50], edi
mov esi, ecx
cmp edx, eax
jb 0x100f58cc
mov edx, eax
cmp ecx, edx
jae 0x100f58f5
mov ecx, dword [esp + 0x48]
add ecx, eax
sub edi, dword [esp + 0x60]
lea ebx, [ebx]
mov al, byte [ecx]
cmp al, byte [edi + ecx]
jne 0x100f58ed
inc esi
inc ecx
cmp esi, edx
jb 0x100f58e0
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x1c]
or eax, 0xffffffff
sub eax, edx
add esi, eax
cmp esi, 2
jb 0x100f5aa4
mov eax, dword [esp + 0x68]
xor ebx, ebx
cmp dword [esp + 0x18], 7
setge bl
dec eax
add ecx, eax
dec ebx
mov eax, dword [ebp + 0xaa0]
and ebx, 0xfffffffd
and eax, ecx
add ebx, 0xa
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
movzx eax, byte [eax + edx + 1]
push eax
movzx eax, byte [edi + edx]
push eax
mov eax, dword [esp + 0x68]
push 1
movzx eax, byte [edx + eax - 1]
push eax
push ecx
push ebp
call fcn.100f4750
mov edx, dword [esp + 0x68]
mov ecx, ebx
add eax, dword [esp + 0x50]
add esp, 0x18
shl ecx, 4
add ecx, edx
movzx ecx, word [ebp + ecx*2 + 0x6aac]
shr ecx, 4
movzx ecx, byte [ecx + 0x101c1200]
add ecx, eax
mov dword [esp + 0x50], ecx
cmp ebx, 3
jg 0x100f5982
xor ebx, ebx
jmp 0x100f598f
cmp ebx, 9
jg 0x100f598c
sub ebx, 3
jmp 0x100f598f
sub ebx, 6
lea edi, [edx + 1]
mov eax, ebx
and edi, dword [ebp + 0xaa0]
shl eax, 4
add eax, edi
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x44], eax
inc edx
movzx eax, word [ebp + eax*2 + 0x6aac]
xor eax, 0x7f0
shr eax, 4
movzx ecx, byte [eax + 0x101c1200]
movzx eax, word [ebp + ebx*2 + 0x6c2c]
add ecx, dword [esp + 0x50]
xor eax, 0x7f0
shr eax, 4
movzx eax, byte [eax + 0x101c1200]
add eax, ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
add eax, esi
add edx, eax
mov eax, dword [esp + 0x14]
cmp eax, edx
jae 0x100f5a11
add eax, 0x623
mov ecx, edx
sub ecx, dword [esp + 0x14]
imul eax, eax, 0x2c
add eax, ebp
add dword [esp + 0x14], ecx
mov dword [eax + 0x2c], 0x40000000
lea eax, [eax + 0x2c]
dec ecx
jne 0x100f5a04
mov eax, dword [esp + 0x44]
movzx eax, word [ebp + eax*2 + 0x6c8c]
xor eax, 0x7f0
shr eax, 4
movzx ecx, byte [eax + 0x101c1200]
movzx eax, word [ebp + ebx*2 + 0x6c44]
shr eax, 4
movzx eax, byte [eax + 0x101c1200]
add ecx, eax
imul eax, edi, 0x110
add eax, esi
mov esi, dword [esp + 0x1c]
add ecx, dword [ebp + eax*4 + 0xbd54]
lea eax, [edx + 0x623]
add ecx, dword [esp + 0x50]
imul eax, eax, 0x2c
cmp ecx, dword [eax + ebp]
jae 0x100f5aa8
mov dword [eax + ebp], ecx
imul ecx, edx, 0x2c
mov edx, dword [esp + 0x6c]
add ecx, ebp
lea eax, [edx + 1]
mov dword [ecx + 0x10e0c], 0
add eax, esi
mov word [ecx + 0x10df8], 0x101
mov dword [ecx + 0x10e08], eax
mov eax, dword [esp + 0x34]
add eax, 4
mov dword [ecx + 0x10dfc], edx
mov dword [ecx + 0x10e00], eax
jmp 0x100f5aa8
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
inc ecx
add edx, 8
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], edx
cmp ecx, dword [esp + 0x40]
je 0x100f5ade
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
inc esi
add ecx, 4
mov dword [esp + 0x1c], esi
add edi, 0x2c
jmp 0x100f5803
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret