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

Disassembly:
sub esp, 0x94
mov eax, dword [0x101e6040]
xor eax, esp
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xa0]
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
mov ebx, ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0xc], eax
push esi
push edi
mov edi, dword [esp + 0xa8]
cmp ebp, 0xa
jae 0x10129986
mov eax, 0xffffffec
jmp 0x1012a576
lea eax, [ebx + edx]
mov ecx, edi
mov dword [esp + 0x38], eax
call fcn.100cf540
movzx eax, ax
lea ecx, [edi + 2]
mov dword [esp + 0x44], eax
call fcn.100cf540
movzx eax, ax
lea ecx, [edi + 4]
mov dword [esp + 0x48], eax
call fcn.100cf540
movzx eax, ax
mov esi, ebp
sub esi, eax
mov dword [esp + 0x1c], eax
sub esi, dword [esp + 0x48]
add edi, 6
mov eax, dword [esp + 0x44]
sub esi, eax
add eax, edi
sub esi, 6
mov dword [esp + 0x3c], eax
add eax, dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x4c]
add eax, 3
shr eax, 2
lea ecx, [eax + ebx]
lea edx, [ecx + eax]
mov dword [esp + 0x40], ecx
add eax, edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], eax
mov ebp, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
mov eax, dword [eax]
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x18], eax
cmp esi, dword [esp + 0xac]
ja 0x1012997c
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x50]
push eax
mov edx, edi
call fcn.10126110
add esp, 4
cmp eax, 0xffffff88
ja 0x1012a576
push dword [esp + 0x48]
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x68]
call fcn.10126110
add esp, 4
cmp eax, 0xffffff88
ja 0x1012a576
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x78]
mov edx, dword [esp + 0x24]
push edi
call fcn.10126110
add esp, 4
cmp eax, 0xffffff88
ja 0x1012a576
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x8c]
push esi
lea edx, [edx + edi]
call fcn.10126110
add esp, 4
cmp eax, 0xffffff88
ja 0x1012a576
lea ecx, [esp + 0x8c]
call fcn.101262a0
lea ecx, [esp + 0x78]
mov edi, eax
call fcn.101262a0
lea ecx, [esp + 0x64]
or edi, eax
call fcn.101262a0
mov esi, eax
lea ecx, [esp + 0x50]
or esi, edi
mov edi, dword [esp + 0x38]
add edi, 0xfffffffd
mov dword [esp + 0x1c], edi
call fcn.101262a0
mov edx, dword [esp + 0x30]
or eax, esi
neg eax
mov esi, edx
sbb ecx, ecx
inc ecx
cmp edx, edi
sbb eax, eax
neg eax
test eax, ecx
je 0x10129cd6
mov edi, dword [esp + 0x18]
neg edi
and edi, 0x1f
mov dword [esp + 0x3c], edi
nop dword [eax]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
mov edx, dword [esp + 0x14]
lea ecx, [edx + eax*4]
movzx eax, word [ecx + 4]
mov word [ebx], ax
movzx eax, byte [ecx + 6]
add dword [esp + 0x54], eax
movzx eax, byte [ecx + 7]
mov ecx, dword [esp + 0x68]
add ebx, eax
mov eax, dword [esp + 0x64]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
lea ecx, [edx + eax*4]
mov edx, dword [esp + 0x2c]
movzx eax, word [ecx + 4]
mov word [edx], ax
movzx eax, byte [ecx + 6]
add dword [esp + 0x68], eax
movzx eax, byte [ecx + 7]
mov ecx, dword [esp + 0x7c]
add edx, eax
mov eax, dword [esp + 0x78]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
mov ecx, dword [esp + 0x14]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx + 4]
mov word [ebp], ax
movzx eax, byte [ecx + 6]
add dword [esp + 0x7c], eax
movzx eax, byte [ecx + 7]
mov ecx, dword [esp + 0x90]
add ebp, eax
mov eax, dword [esp + 0x8c]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
mov ecx, dword [esp + 0x14]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx + 4]
mov word [esi], ax
movzx eax, byte [ecx + 6]
add dword [esp + 0x90], eax
movzx eax, byte [ecx + 7]
mov ecx, dword [esp + 0x54]
add esi, eax
mov eax, dword [esp + 0x50]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
mov ecx, dword [esp + 0x14]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx + 4]
mov word [ebx], ax
movzx eax, byte [ecx + 6]
add dword [esp + 0x54], eax
movzx eax, byte [ecx + 7]
mov ecx, dword [esp + 0x68]
add ebx, eax
mov eax, dword [esp + 0x64]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
mov ecx, dword [esp + 0x14]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx + 4]
mov word [edx], ax
movzx eax, byte [ecx + 6]
add dword [esp + 0x68], eax
movzx eax, byte [ecx + 7]
mov ecx, dword [esp + 0x7c]
add edx, eax
mov eax, dword [esp + 0x78]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x14]
lea ecx, [edx + eax*4]
movzx eax, word [ecx + 4]
mov word [ebp], ax
movzx eax, byte [ecx + 6]
add dword [esp + 0x7c], eax
movzx eax, byte [ecx + 7]
mov ecx, dword [esp + 0x90]
add ebp, eax
mov eax, dword [esp + 0x8c]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
lea ecx, [edx + eax*4]
movzx eax, word [ecx + 4]
mov word [esi], ax
movzx eax, byte [ecx + 6]
add dword [esp + 0x90], eax
movzx eax, byte [ecx + 7]
lea ecx, [esp + 0x8c]
add esi, eax
mov dword [esp + 0x20], esi
call fcn.101262a0
lea ecx, [esp + 0x78]
mov edi, eax
call fcn.101262a0
lea ecx, [esp + 0x64]
or edi, eax
call fcn.101262a0
mov esi, eax
lea ecx, [esp + 0x50]
or esi, edi
call fcn.101262a0
mov edi, dword [esp + 0x3c]
or eax, esi
mov esi, dword [esp + 0x20]
neg eax
sbb ecx, ecx
inc ecx
cmp esi, dword [esp + 0x1c]
sbb eax, eax
neg eax
test eax, ecx
jne 0x10129b00
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x40]
cmp ebx, eax
ja 0x1012997c
mov edi, dword [esp + 0x2c]
cmp edi, dword [esp + 0x34]
ja 0x1012997c
cmp ebp, edx
ja 0x1012997c
add eax, 0xfffffffd
lea ecx, [esp + 0x50]
mov dword [esp + 0x24], eax
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp ebx, dword [esp + 0x24]
sbb eax, eax
neg eax
test eax, ecx
je 0x10129db6
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
neg esi
mov ebp, dword [esp + 0x14]
and esi, 0x1f
nop
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
and ecx, 0x1f
shl eax, cl
mov ecx, esi
shr eax, cl
lea edx, [eax*4]
movzx eax, word [edx + ebp + 4]
mov word [ebx], ax
mov ecx, dword [esp + 0x54]
movzx eax, byte [edx + ebp + 6]
add ecx, eax
movzx eax, byte [edx + ebp + 7]
add ebx, eax
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x50]
and ecx, 0x1f
shl eax, cl
mov ecx, esi
shr eax, cl
lea ecx, [eax*4]
movzx eax, word [ecx + ebp + 4]
mov word [ebx], ax
movzx eax, byte [ecx + ebp + 6]
add dword [esp + 0x54], eax
movzx eax, byte [ecx + ebp + 7]
lea ecx, [esp + 0x50]
add ebx, eax
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp ebx, edi
sbb eax, eax
neg eax
test eax, ecx
jne 0x10129d30
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x50]
add eax, 0xfffffffe
mov dword [esp + 0x24], eax
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp dword [esp + 0x24], ebx
sbb eax, eax
inc eax
test eax, ecx
je 0x10129e43
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
neg esi
mov ebp, dword [esp + 0x14]
and esi, 0x1f
nop dword [eax + eax]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
and ecx, 0x1f
shl eax, cl
mov ecx, esi
shr eax, cl
lea ecx, [eax*4]
mov ax, word [ecx + ebp + 4]
mov word [ebx], ax
movzx eax, byte [ecx + ebp + 6]
add dword [esp + 0x54], eax
movzx eax, byte [ecx + ebp + 7]
lea ecx, [esp + 0x50]
add ebx, eax
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp edi, ebx
sbb eax, eax
inc eax
test eax, ecx
jne 0x10129df0
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
add eax, 0xfffffffe
mov dword [esp + 0x3c], eax
cmp ebx, eax
ja 0x10129ebc
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x54]
neg eax
mov esi, dword [esp + 0x3c]
and eax, 0x1f
mov ebp, dword [esp + 0x14]
mov edi, eax
nop dword [eax]
mov eax, dword [esp + 0x50]
and edx, 0x1f
mov ecx, edx
shl eax, cl
mov ecx, edi
shr eax, cl
lea ecx, [eax*4]
mov ax, word [ecx + ebp + 4]
mov word [ebx], ax
movzx eax, byte [ecx + ebp + 6]
mov edx, dword [esp + 0x54]
add edx, eax
movzx eax, byte [ecx + ebp + 7]
add ebx, eax
mov dword [esp + 0x54], edx
cmp ebx, esi
jbe 0x10129e70
mov ebp, dword [esp + 0x28]
mov ecx, edx
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
jmp 0x10129ec0
mov ecx, dword [esp + 0x54]
cmp ebx, dword [esp + 0x40]
jae 0x10129f16
mov edx, dword [esp + 0x18]
and ecx, 0x1f
mov eax, dword [esp + 0x50]
neg edx
shl eax, cl
and edx, 0x1f
mov ecx, edx
shr eax, cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + eax*4]
mov al, byte [edx + 4]
mov byte [ebx], al
cmp byte [edx + 7], 1
jne 0x10129ef8
movzx eax, byte [edx + 6]
add dword [esp + 0x54], eax
jmp 0x10129f16
mov ecx, dword [esp + 0x54]
cmp ecx, 0x20
jae 0x10129f16
movzx eax, byte [edx + 6]
add ecx, eax
mov eax, 0x20
cmp ecx, 0x20
cmova ecx, eax
mov dword [esp + 0x54], ecx
mov ebx, dword [esp + 0x34]
lea ecx, [esp + 0x64]
add ebx, 0xfffffffd
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp edi, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x10129fd2
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
neg esi
and esi, 0x1f
nop word [eax + eax]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
and ecx, 0x1f
shl eax, cl
mov ecx, esi
shr eax, cl
lea edx, [eax*4]
movzx eax, word [edx + ebp + 4]
mov word [edi], ax
mov ecx, dword [esp + 0x68]
movzx eax, byte [edx + ebp + 6]
add ecx, eax
movzx eax, byte [edx + ebp + 7]
add edi, eax
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x64]
and ecx, 0x1f
shl eax, cl
mov ecx, esi
shr eax, cl
lea ecx, [eax*4]
movzx eax, word [ecx + ebp + 4]
mov word [edi], ax
movzx eax, byte [ecx + ebp + 6]
add dword [esp + 0x68], eax
movzx eax, byte [ecx + ebp + 7]
lea ecx, [esp + 0x64]
add edi, eax
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp edi, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x10129f50
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x64]
mov ebx, dword [esp + 0x18]
add eax, 0xfffffffe
mov dword [esp + 0x24], eax
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp dword [esp + 0x24], edi
sbb eax, eax
inc eax
test eax, ecx
je 0x1012a063
mov ebp, dword [esp + 0x14]
mov esi, ebx
mov ebx, dword [esp + 0x24]
neg esi
and esi, 0x1f
nop dword [eax]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
and ecx, 0x1f
shl eax, cl
mov ecx, esi
shr eax, cl
lea ecx, [eax*4]
mov ax, word [ecx + ebp + 4]
mov word [edi], ax
movzx eax, byte [ecx + ebp + 6]
add dword [esp + 0x68], eax
movzx eax, byte [ecx + ebp + 7]
lea ecx, [esp + 0x64]
add edi, eax
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp ebx, edi
sbb eax, eax
inc eax
test eax, ecx
jne 0x1012a010
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
add eax, 0xfffffffe
cmp edi, eax
ja 0x1012a0c2
mov ebp, dword [esp + 0x14]
mov edx, ebx
mov ebx, dword [esp + 0x68]
neg edx
and edx, 0x1f
mov esi, eax
nop
mov eax, dword [esp + 0x64]
and ebx, 0x1f
mov ecx, ebx
shl eax, cl
mov ecx, edx
shr eax, cl
lea ecx, [eax*4]
mov ax, word [ecx + ebp + 4]
mov word [edi], ax
movzx eax, byte [ecx + ebp + 6]
mov ebx, dword [esp + 0x68]
add ebx, eax
movzx eax, byte [ecx + ebp + 7]
add edi, eax
mov dword [esp + 0x68], ebx
cmp edi, esi
jbe 0x1012a080
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
jmp 0x1012a0c6
mov ebx, dword [esp + 0x68]
cmp edi, dword [esp + 0x34]
jae 0x1012a11e
mov edx, dword [esp + 0x18]
and ebx, 0x1f
mov eax, dword [esp + 0x64]
neg edx
and edx, 0x1f
mov ecx, ebx
shl eax, cl
mov ecx, edx
shr eax, cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + eax*4]
mov al, byte [edx + 4]
mov byte [edi], al
cmp byte [edx + 7], 1
jne 0x1012a100
movzx eax, byte [edx + 6]
add dword [esp + 0x68], eax
jmp 0x1012a11e
mov ecx, dword [esp + 0x68]
cmp ecx, 0x20
jae 0x1012a11e
movzx eax, byte [edx + 6]
add ecx, eax
mov eax, 0x20
cmp ecx, 0x20
cmova ecx, eax
mov dword [esp + 0x68], ecx
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x78]
add ebx, 0xfffffffd
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp ebp, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x1012a1c2
mov edi, dword [esp + 0x18]
mov esi, ebx
mov ebx, dword [esp + 0x14]
neg edi
and edi, 0x1f
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
lea edx, [ebx + eax*4]
movzx eax, word [edx + 4]
mov word [ebp], ax
mov ecx, dword [esp + 0x7c]
movzx eax, byte [edx + 6]
add ecx, eax
movzx eax, byte [edx + 7]
add ebp, eax
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0x78]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
lea ecx, [ebx + eax*4]
movzx eax, word [ecx + 4]
mov word [ebp], ax
movzx eax, byte [ecx + 6]
add dword [esp + 0x7c], eax
movzx eax, byte [ecx + 7]
lea ecx, [esp + 0x78]
add ebp, eax
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp ebp, esi
sbb eax, eax
neg eax
test eax, ecx
jne 0x1012a150
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x78]
mov ebx, dword [esp + 0x18]
add edi, 0xfffffffe
mov dword [esp + 0x1c], edi
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp edi, ebp
sbb eax, eax
inc eax
test eax, ecx
je 0x1012a249
mov esi, dword [esp + 0x1c]
mov edi, ebx
mov ebx, dword [esp + 0x14]
neg edi
and edi, 0x1f
nop word [eax + eax]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
lea ecx, [ebx + eax*4]
mov ax, word [ecx + 4]
mov word [ebp], ax
movzx eax, byte [ecx + 6]
add dword [esp + 0x7c], eax
movzx eax, byte [ecx + 7]
lea ecx, [esp + 0x78]
add ebp, eax
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp esi, ebp
sbb eax, eax
inc eax
test eax, ecx
jne 0x1012a200
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x7c]
add eax, 0xfffffffe
cmp ebp, eax
ja 0x1012a29f
mov edx, ebx
mov esi, eax
mov ebx, dword [esp + 0x14]
neg edx
and edx, 0x1f
mov eax, dword [esp + 0x78]
and edi, 0x1f
mov ecx, edi
shl eax, cl
mov ecx, edx
shr eax, cl
lea ecx, [ebx + eax*4]
mov ax, word [ecx + 4]
mov word [ebp], ax
movzx eax, byte [ecx + 6]
mov edi, dword [esp + 0x7c]
add edi, eax
movzx eax, byte [ecx + 7]
add ebp, eax
mov dword [esp + 0x7c], edi
cmp ebp, esi
jbe 0x1012a265
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
cmp ebp, dword [esp + 0x30]
jae 0x1012a2f6
mov eax, dword [esp + 0x78]
mov edx, ebx
neg edx
and edi, 0x1f
and edx, 0x1f
mov ecx, edi
shl eax, cl
mov ecx, edx
shr eax, cl
mov ecx, dword [esp + 0x14]
lea edx, [ecx + eax*4]
mov al, byte [edx + 4]
mov byte [ebp], al
cmp byte [edx + 7], 1
jne 0x1012a2d8
movzx eax, byte [edx + 6]
add dword [esp + 0x7c], eax
jmp 0x1012a2f6
mov ecx, dword [esp + 0x7c]
cmp ecx, 0x20
jae 0x1012a2f6
movzx eax, byte [edx + 6]
add ecx, eax
mov eax, 0x20
cmp ecx, 0x20
cmova ecx, eax
mov dword [esp + 0x7c], ecx
lea ecx, [esp + 0x8c]
call fcn.101262a0
mov edx, dword [esp + 0x38]
neg eax
sbb ecx, ecx
inc ecx
lea eax, [edx - 3]
cmp esi, eax
sbb eax, eax
neg eax
test eax, ecx
je 0x1012a3bd
mov edi, ebx
lea ebp, [edx - 3]
mov ebx, dword [esp + 0x14]
neg edi
and edi, 0x1f
nop word [eax + eax]
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
lea edx, [ebx + eax*4]
movzx eax, word [edx + 4]
mov word [esi], ax
mov ecx, dword [esp + 0x90]
movzx eax, byte [edx + 6]
add ecx, eax
movzx eax, byte [edx + 7]
add esi, eax
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0x8c]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
lea ecx, [ebx + eax*4]
movzx eax, word [ecx + 4]
mov word [esi], ax
movzx eax, byte [ecx + 6]
add dword [esp + 0x90], eax
movzx eax, byte [ecx + 7]
lea ecx, [esp + 0x8c]
add esi, eax
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp esi, ebp
sbb eax, eax
neg eax
test eax, ecx
jne 0x1012a330
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x8c]
lea ebp, [edx - 2]
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp ebp, esi
sbb eax, eax
inc eax
test eax, ecx
je 0x1012a440
mov edi, ebx
mov ebx, dword [esp + 0x14]
neg edi
and edi, 0x1f
nop word [eax + eax]
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
lea ecx, [ebx + eax*4]
mov ax, word [ecx + 4]
mov word [esi], ax
movzx eax, byte [ecx + 6]
add dword [esp + 0x90], eax
movzx eax, byte [ecx + 7]
lea ecx, [esp + 0x8c]
add esi, eax
call fcn.101262a0
neg eax
sbb ecx, ecx
inc ecx
cmp ebp, esi
sbb eax, eax
inc eax
test eax, ecx
jne 0x1012a3f0
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x90]
lea ebp, [eax - 2]
cmp esi, ebp
ja 0x1012a4a2
mov edi, ebx
mov ebx, dword [esp + 0x14]
neg edi
and edi, 0x1f
nop dword [eax]
mov eax, dword [esp + 0x8c]
and edx, 0x1f
mov ecx, edx
shl eax, cl
mov ecx, edi
shr eax, cl
lea ecx, [ebx + eax*4]
mov ax, word [ecx + 4]
mov word [esi], ax
movzx eax, byte [ecx + 6]
mov edx, dword [esp + 0x90]
add edx, eax
movzx eax, byte [ecx + 7]
add esi, eax
mov dword [esp + 0x90], edx
cmp esi, ebp
jbe 0x1012a460
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
cmp esi, eax
jae 0x1012a4f4
mov eax, dword [esp + 0x8c]
and edx, 0x1f
neg ebx
mov ecx, edx
shl eax, cl
and ebx, 0x1f
mov ecx, ebx
shr eax, cl
mov ecx, dword [esp + 0x14]
lea ecx, [ecx + eax*4]
mov al, byte [ecx + 4]
mov byte [esi], al
cmp byte [ecx + 7], 1
mov edx, dword [esp + 0x90]
jne 0x1012a4de
movzx eax, byte [ecx + 6]
add edx, eax
jmp 0x1012a4f4
cmp edx, 0x20
jae 0x1012a4f4
movzx eax, byte [ecx + 6]
add edx, eax
mov eax, 0x20
cmp edx, 0x20
cmova edx, eax
mov eax, dword [esp + 0x58]
cmp eax, dword [esp + 0x5c]
jne 0x1012a50c
cmp dword [esp + 0x54], 0x20
jne 0x1012a50c
mov esi, 1
jmp 0x1012a50e
xor esi, esi
mov eax, dword [esp + 0x6c]
cmp eax, dword [esp + 0x70]
jne 0x1012a526
cmp dword [esp + 0x68], 0x20
jne 0x1012a526
mov edi, 1
jmp 0x1012a528
xor edi, edi
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x84]
jne 0x1012a546
cmp dword [esp + 0x7c], 0x20
jne 0x1012a546
mov ecx, 1
jmp 0x1012a548
xor ecx, ecx
mov eax, dword [esp + 0x94]
cmp eax, dword [esp + 0x98]
jne 0x1012a562
cmp edx, 0x20
jne 0x1012a562
lea eax, [edx - 0x1f]
jmp 0x1012a564
xor eax, eax
and eax, ecx
mov ecx, 0xffffffec
and eax, edi
test esi, eax
mov eax, dword [esp + 0x4c]
cmove eax, ecx
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10151433
add esp, 0x94
ret