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

Disassembly:
mov edx, dword [esp + 0x10]
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
cmp edx, 0xa
jb 0x11d67ff8
mov esi, dword [esp + 0xa0]
mov edi, edx
mov eax, dword [esp + 0xa4]
add eax, esi
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xa8]
lea ebx, [ecx + 4]
mov dword [esp + 0x1c], ebx
movzx ebp, word [eax]
mov dword [esp + 0x94], ebp
movzx ebp, word [eax + 2]
mov dword [esp + 0x14], ebp
movzx ebp, word [eax + 4]
sub edi, ebp
mov dword [esp + 0x10], ebp
movzx ebp, word [eax]
add eax, 6
sub edi, dword [esp + 0x14]
mov dword [esp + 0x98], eax
sub edi, ebp
add ebp, eax
sub edi, 6
mov eax, dword [esp + 0x14]
add eax, ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa4]
add eax, 3
shr eax, 2
lea ebp, [eax + esi]
lea ebx, [eax + ebp]
mov dword [esp + 0x90], ebp
mov dword [esp + 0x20], ebx
add ebx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebx
lea ebx, [ecx + 4]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x18], eax
cmp edi, edx
ja 0x11d67ff8
push dword [esp + 0x94]
lea eax, [esp + 0x40]
push dword [esp + 0x9c]
push eax
call fcn.11d634a0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x11d67ffd
push dword [esp + 0x14]
lea eax, [esp + 0x7c]
push dword [esp + 0x34]
push eax
call fcn.11d634a0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x11d67ffd
push dword [esp + 0x10]
lea eax, [esp + 0x68]
push dword [esp + 0x3c]
push eax
call fcn.11d634a0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x11d67ffd
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x38]
push edi
push eax
lea eax, [esp + 0x58]
push eax
call fcn.11d634a0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x11d67ffd
lea eax, [esp + 0x50]
push eax
call fcn.11d635d0
mov edi, eax
lea eax, [esp + 0x68]
push eax
call fcn.11d635d0
or edi, eax
lea eax, [esp + 0x80]
push eax
call fcn.11d635d0
or edi, eax
lea eax, [esp + 0x48]
push eax
call fcn.11d635d0
mov ecx, dword [esp + 0x34]
or edi, eax
mov eax, dword [esp + 0x9c]
add esp, 0x10
neg edi
sbb edi, edi
add eax, 0xfffffffd
inc edi
cmp ecx, eax
sbb eax, eax
neg eax
test eax, edi
je 0x11d67656
mov eax, dword [esp + 0x18]
neg eax
and eax, 0x1f
mov dword [esp + 0x10], eax
nop word [eax + eax]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
and ecx, 0x1f
shl edx, cl
mov ecx, eax
shr edx, cl
mov ecx, dword [esp + 0x7c]
and ecx, 0x1f
mov edi, dword [esp + 0x34]
movzx eax, word [ebx + edx*4]
mov word [esi], ax
movzx eax, byte [ebx + edx*4 + 2]
add eax, dword [esp + 0x40]
mov dword [esp + 0x30], eax
movzx eax, byte [ebx + edx*4 + 3]
mov edx, dword [esp + 0x78]
add esi, eax
shl edx, cl
mov ecx, dword [esp + 0x10]
shr edx, cl
mov ecx, dword [esp + 0x68]
and ecx, 0x1f
movzx eax, word [ebx + edx*4]
mov word [ebp], ax
movzx eax, byte [ebx + edx*4 + 3]
movzx ebp, byte [ebx + edx*4 + 2]
add dword [esp + 0x2c], eax
mov edx, dword [esp + 0x64]
shl edx, cl
mov ecx, dword [esp + 0x10]
shr edx, cl
mov ecx, dword [esp + 0x28]
add ebp, dword [esp + 0x7c]
movzx eax, word [ebx + edx*4]
mov word [ecx], ax
movzx ebx, byte [ebx + edx*4 + 2]
mov ecx, dword [esp + 0x1c]
add ebx, dword [esp + 0x68]
movzx eax, byte [ecx + edx*4 + 3]
add dword [esp + 0x28], eax
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x10]
shr edx, cl
mov ecx, dword [esp + 0x1c]
movzx eax, word [ecx + edx*4]
mov word [edi], ax
movzx eax, byte [ecx + edx*4 + 2]
mov edi, dword [esp + 0x54]
add edi, eax
movzx eax, byte [ecx + edx*4 + 3]
add dword [esp + 0x34], eax
mov edx, dword [esp + 0x30]
mov ecx, edx
mov eax, dword [esp + 0x3c]
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x10]
shr eax, cl
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
movzx eax, word [ecx + eax*4]
mov ecx, dword [esp + 0x30]
mov word [esi], ax
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + ecx*4 + 2]
add eax, edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + ecx*4 + 3]
mov ecx, ebp
and ecx, 0x1f
add esi, eax
shl edx, cl
mov ecx, dword [esp + 0x10]
shr edx, cl
mov ecx, dword [esp + 0x1c]
movzx eax, word [ecx + edx*4]
mov ecx, dword [esp + 0x2c]
mov word [ecx], ax
mov ecx, dword [esp + 0x1c]
movzx eax, byte [ecx + edx*4 + 2]
add eax, ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x7c], eax
movzx eax, byte [ecx + edx*4 + 3]
mov ecx, ebx
add dword [esp + 0x2c], eax
and ecx, 0x1f
mov edx, dword [esp + 0x64]
shl edx, cl
mov ecx, dword [esp + 0x10]
shr edx, cl
mov ecx, dword [esp + 0x1c]
movzx eax, word [ecx + edx*4]
mov word [ebp], ax
movzx eax, byte [ecx + edx*4 + 2]
mov ebp, dword [esp + 0x34]
add eax, ebx
mov ebx, ecx
mov dword [esp + 0x68], eax
mov ecx, edi
and ecx, 0x1f
movzx eax, byte [ebx + edx*4 + 3]
mov edx, dword [esp + 0x50]
add dword [esp + 0x28], eax
shl edx, cl
mov ecx, dword [esp + 0x10]
shr edx, cl
movzx eax, word [ebx + edx*4]
mov word [ebp], ax
movzx eax, byte [ebx + edx*4 + 2]
add eax, edi
mov dword [esp + 0x54], eax
movzx eax, byte [ebx + edx*4 + 3]
add ebp, eax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x38], ebp
call fcn.11d635d0
mov edi, eax
lea eax, [esp + 0x68]
push eax
call fcn.11d635d0
or edi, eax
lea eax, [esp + 0x80]
push eax
call fcn.11d635d0
or edi, eax
lea eax, [esp + 0x48]
push eax
call fcn.11d635d0
or edi, eax
add esp, 0x10
mov eax, dword [esp + 0x8c]
neg edi
sbb edi, edi
add eax, 0xfffffffd
inc edi
cmp ebp, eax
mov ebp, dword [esp + 0x2c]
sbb eax, eax
neg eax
test eax, edi
mov eax, dword [esp + 0x10]
jne 0x11d67450
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x90]
cmp esi, eax
ja 0x11d67ff8
cmp ebp, dword [esp + 0x20]
ja 0x11d67ff8
cmp dword [esp + 0x28], ecx
ja 0x11d67ff8
mov ebp, dword [esp + 0x40]
lea ecx, [eax - 3]
mov dword [esp + 0x38], ecx
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
cmp ebp, 0x20
jbe 0x11d6769c
mov ebx, dword [esp + 0x3c]
mov edi, 3
jmp 0x11d676f3
cmp edx, dword [esp + 0x4c]
jb 0x11d676b0
mov eax, ebp
and ebp, 7
shr eax, 3
sub edx, eax
xor edi, edi
jmp 0x11d676e5
cmp edx, ebx
jne 0x11d676c2
mov ebx, dword [esp + 0x3c]
cmp ebp, 0x20
sbb edi, edi
add edi, 2
jmp 0x11d676f3
mov ecx, ebp
mov eax, edx
shr ecx, 3
xor edi, edi
sub eax, ecx
cmp eax, ebx
jae 0x11d676da
mov ecx, edx
mov edi, 1
sub ecx, ebx
imul eax, ecx, 0xfffffff8
sub edx, ecx
mov ecx, dword [esp + 0x38]
add ebp, eax
mov ebx, dword [edx]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], edx
cmp esi, ecx
sbb ecx, ecx
xor eax, eax
neg ecx
test edi, edi
sete al
test eax, ecx
je 0x11d6776a
mov ebx, dword [esp + 0x18]
mov ecx, ebp
mov edx, dword [esp + 0x3c]
and ecx, 0x1f
shl edx, cl
neg ebx
and ebx, 0x1f
mov ecx, ebx
shr edx, cl
mov ecx, dword [esp + 0x1c]
movzx eax, word [ecx + edx*4]
mov word [esi], ax
movzx edi, byte [ecx + edx*4 + 2]
movzx eax, byte [ecx + edx*4 + 3]
add edi, ebp
add esi, eax
mov ecx, edi
mov eax, dword [esp + 0x3c]
and ecx, 0x1f
shl eax, cl
mov ecx, ebx
shr eax, cl
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [esi], ax
movzx ebp, byte [ecx + 2]
movzx eax, byte [ecx + 3]
add ebp, edi
mov ecx, dword [esp + 0x38]
add esi, eax
mov dword [esp + 0x40], ebp
jmp 0x11d67684
mov ecx, dword [esp + 0x90]
mov edi, dword [esp + 0x1c]
add ecx, 0xfffffffe
mov dword [esp + 0x14], ecx
nop dword [eax]
cmp ebp, 0x20
jbe 0x11d6778c
mov edx, 3
jmp 0x11d677fe
cmp edx, dword [esp + 0x4c]
jb 0x11d677a6
mov eax, ebp
and ebp, 7
shr eax, 3
sub edx, eax
mov dword [esp + 0x44], edx
mov ebx, dword [edx]
xor edx, edx
jmp 0x11d677f6
cmp edx, dword [esp + 0x48]
jne 0x11d677bc
cmp ebp, 0x20
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], eax
mov edx, eax
jmp 0x11d677fe
mov ebx, dword [esp + 0x48]
mov ecx, ebp
shr ecx, 3
mov eax, edx
sub eax, ecx
mov dword [esp + 0x10], 0
cmp eax, ebx
jae 0x11d677e1
mov ecx, edx
mov dword [esp + 0x10], 1
sub ecx, ebx
sub edx, ecx
imul eax, ecx, 0xfffffff8
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], edx
mov ebx, dword [edx]
mov edx, dword [esp + 0x10]
add ebp, eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebp
cmp ecx, esi
sbb ecx, ecx
xor eax, eax
inc ecx
test edx, edx
sete al
test eax, ecx
je 0x11d67848
mov ecx, ebp
mov edx, ebx
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x18]
neg ecx
and ecx, 0x1f
shr edx, cl
mov ecx, dword [esp + 0x14]
mov ax, word [edi + edx*4]
mov word [esi], ax
movzx eax, byte [edi + edx*4 + 2]
add ebp, eax
movzx eax, byte [edi + edx*4 + 3]
mov edx, dword [esp + 0x44]
add esi, eax
mov dword [esp + 0x40], ebp
jmp 0x11d67780
cmp esi, dword [esp + 0x14]
ja 0x11d6788c
mov eax, dword [esp + 0x18]
neg eax
and eax, 0x1f
mov edx, eax
nop dword [eax]
mov ecx, ebp
mov eax, ebx
and ecx, 0x1f
shl eax, cl
mov ecx, edx
shr eax, cl
lea ecx, [edi + eax*4]
mov ax, word [ecx]
mov word [esi], ax
movzx eax, byte [ecx + 2]
add ebp, eax
movzx eax, byte [ecx + 3]
add esi, eax
cmp esi, dword [esp + 0x14]
jbe 0x11d67860
mov dword [esp + 0x40], ebp
mov edx, dword [esp + 0x18]
cmp esi, dword [esp + 0x90]
jae 0x11d678a9
push edx
push edi
lea eax, [esp + 0x44]
push eax
push esi
call fcn.11d66140
add esp, 0x10
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x80]
add ecx, 0xfffffffd
mov ebx, dword [esp + 0x7c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov esi, dword [esp + 0x84]
cmp ebx, 0x20
jbe 0x11d678dd
mov esi, dword [esp + 0x78]
mov dword [esp + 0x10], 3
jmp 0x11d6794e
cmp ebp, dword [esp + 0x88]
jb 0x11d678fa
mov eax, ebx
mov dword [esp + 0x10], 0
shr eax, 3
sub ebp, eax
and ebx, 7
jmp 0x11d6793c
cmp ebp, esi
jne 0x11d67910
mov esi, dword [esp + 0x78]
cmp ebx, 0x20
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x11d6794e
mov ecx, ebx
mov dword [esp + 0x10], 0
shr ecx, 3
mov eax, ebp
sub eax, ecx
cmp eax, esi
jae 0x11d67931
mov ecx, ebp
mov dword [esp + 0x10], 1
sub ecx, esi
imul eax, ecx, 0xfffffff8
sub ebp, ecx
mov ecx, dword [esp + 0x38]
add ebx, eax
mov esi, dword [ebp]
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebp
cmp edx, ecx
sbb ecx, ecx
xor eax, eax
neg ecx
cmp dword [esp + 0x10], eax
sete al
test eax, ecx
je 0x11d679d1
mov edi, dword [esp + 0x18]
mov ecx, ebx
and ecx, 0x1f
neg edi
mov edx, esi
and edi, 0x1f
mov esi, dword [esp + 0x2c]
shl edx, cl
mov ecx, edi
shr edx, cl
mov ecx, dword [esp + 0x1c]
movzx eax, word [ecx + edx*4]
mov word [esi], ax
movzx esi, byte [ecx + edx*4 + 2]
movzx eax, byte [ecx + edx*4 + 3]
add esi, ebx
mov edx, dword [esp + 0x2c]
mov ecx, esi
add edx, eax
and ecx, 0x1f
mov eax, dword [esp + 0x78]
shl eax, cl
mov ecx, edi
mov edi, dword [esp + 0x1c]
shr eax, cl
lea ecx, [edi + eax*4]
movzx eax, word [ecx]
mov word [edx], ax
movzx ebx, byte [ecx + 2]
movzx eax, byte [ecx + 3]
add ebx, esi
mov ecx, dword [esp + 0x38]
add edx, eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x2c], edx
jmp 0x11d678c3
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffffe
mov dword [esp + 0x14], ecx
nop dword [eax]
cmp ebx, 0x20
jbe 0x11d679ef
mov dword [esp + 0x10], 3
jmp 0x11d67a68
cmp ebp, dword [esp + 0x88]
jb 0x11d67a0c
mov eax, ebx
mov dword [esp + 0x10], 0
shr eax, 3
sub ebp, eax
and ebx, 7
jmp 0x11d67a56
cmp ebp, dword [esp + 0x84]
jne 0x11d67a23
cmp ebx, 0x20
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x11d67a68
mov esi, dword [esp + 0x84]
mov ecx, ebx
shr ecx, 3
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x10], 0
cmp eax, esi
jae 0x11d67a4b
mov ecx, ebp
mov dword [esp + 0x10], 1
sub ecx, esi
imul eax, ecx, 0xfffffff8
sub ebp, ecx
mov ecx, dword [esp + 0x14]
add ebx, eax
mov esi, dword [ebp]
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebp
cmp ecx, edx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp dword [esp + 0x10], eax
sete al
test eax, ecx
je 0x11d67aba
mov ecx, ebx
mov edx, esi
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x18]
neg ecx
and ecx, 0x1f
shr edx, cl
mov ecx, dword [esp + 0x2c]
mov ax, word [edi + edx*4]
mov word [ecx], ax
movzx eax, byte [edi + edx*4 + 2]
add ebx, eax
movzx eax, byte [edi + edx*4 + 3]
mov edx, ecx
mov dword [esp + 0x7c], ebx
mov ecx, dword [esp + 0x14]
add edx, eax
mov dword [esp + 0x2c], edx
jmp 0x11d679e0
cmp edx, dword [esp + 0x14]
ja 0x11d67afc
mov eax, dword [esp + 0x18]
neg eax
and eax, 0x1f
mov ebp, eax
nop dword [eax + eax]
mov ecx, ebx
mov eax, esi
and ecx, 0x1f
shl eax, cl
mov ecx, ebp
shr eax, cl
lea ecx, [edi + eax*4]
mov ax, word [ecx]
mov word [edx], ax
movzx eax, byte [ecx + 2]
add ebx, eax
movzx eax, byte [ecx + 3]
add edx, eax
cmp edx, dword [esp + 0x14]
jbe 0x11d67ad0
mov dword [esp + 0x7c], ebx
mov ebp, dword [esp + 0x18]
cmp edx, dword [esp + 0x20]
jae 0x11d67b19
push ebp
push edi
lea eax, [esp + 0x80]
push eax
push edx
call fcn.11d66140
add esp, 0x10
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x6c]
add ecx, 0xfffffffd
mov ebx, dword [esp + 0x68]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], ecx
mov esi, dword [esp + 0x70]
cmp ebx, 0x20
jbe 0x11d67b47
mov esi, dword [esp + 0x64]
mov dword [esp + 0x20], 3
jmp 0x11d67bb2
cmp ebp, dword [esp + 0x74]
jb 0x11d67b61
mov eax, ebx
mov dword [esp + 0x20], 0
shr eax, 3
sub ebp, eax
and ebx, 7
jmp 0x11d67ba3
cmp ebp, esi
jne 0x11d67b77
mov esi, dword [esp + 0x64]
cmp ebx, 0x20
sbb eax, eax
add eax, 2
mov dword [esp + 0x20], eax
jmp 0x11d67bb2
mov ecx, ebx
mov dword [esp + 0x20], 0
shr ecx, 3
mov eax, ebp
sub eax, ecx
cmp eax, esi
jae 0x11d67b98
mov ecx, ebp
mov dword [esp + 0x20], 1
sub ecx, esi
imul eax, ecx, 0xfffffff8
sub ebp, ecx
mov ecx, dword [esp + 0x38]
add ebx, eax
mov esi, dword [ebp]
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebp
cmp edx, ecx
sbb ecx, ecx
xor eax, eax
neg ecx
cmp dword [esp + 0x20], eax
sete al
test eax, ecx
je 0x11d67c35
mov edi, dword [esp + 0x18]
mov ecx, ebx
and ecx, 0x1f
neg edi
mov edx, esi
and edi, 0x1f
mov esi, dword [esp + 0x28]
shl edx, cl
mov ecx, edi
shr edx, cl
mov ecx, dword [esp + 0x1c]
movzx eax, word [ecx + edx*4]
mov word [esi], ax
movzx esi, byte [ecx + edx*4 + 2]
movzx eax, byte [ecx + edx*4 + 3]
add esi, ebx
mov edx, dword [esp + 0x28]
mov ecx, esi
add edx, eax
and ecx, 0x1f
mov eax, dword [esp + 0x64]
shl eax, cl
mov ecx, edi
mov edi, dword [esp + 0x1c]
shr eax, cl
lea ecx, [edi + eax*4]
movzx eax, word [ecx]
mov word [edx], ax
movzx ebx, byte [ecx + 2]
movzx eax, byte [ecx + 3]
add ebx, esi
mov ecx, dword [esp + 0x38]
add edx, eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x28], edx
jmp 0x11d67b30
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffffe
mov dword [esp + 0x14], ecx
cmp ebx, 0x20
jbe 0x11d67c4f
mov dword [esp + 0x20], 3
jmp 0x11d67cbc
cmp ebp, dword [esp + 0x74]
jb 0x11d67c69
mov eax, ebx
mov dword [esp + 0x20], 0
shr eax, 3
sub ebp, eax
and ebx, 7
jmp 0x11d67cad
cmp ebp, dword [esp + 0x70]
jne 0x11d67c7d
cmp ebx, 0x20
sbb eax, eax
add eax, 2
mov dword [esp + 0x20], eax
jmp 0x11d67cbc
mov esi, dword [esp + 0x70]
mov ecx, ebx
shr ecx, 3
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x20], 0
cmp eax, esi
jae 0x11d67ca2
mov ecx, ebp
mov dword [esp + 0x20], 1
sub ecx, esi
imul eax, ecx, 0xfffffff8
sub ebp, ecx
mov ecx, dword [esp + 0x14]
add ebx, eax
mov esi, dword [ebp]
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebp
cmp ecx, edx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp dword [esp + 0x20], eax
sete al
test eax, ecx
je 0x11d67d0e
mov ecx, ebx
mov edx, esi
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x18]
neg ecx
and ecx, 0x1f
shr edx, cl
mov ecx, dword [esp + 0x28]
mov ax, word [edi + edx*4]
mov word [ecx], ax
movzx eax, byte [edi + edx*4 + 2]
add ebx, eax
movzx eax, byte [edi + edx*4 + 3]
mov edx, ecx
mov dword [esp + 0x68], ebx
mov ecx, dword [esp + 0x14]
add edx, eax
mov dword [esp + 0x28], edx
jmp 0x11d67c40
cmp edx, dword [esp + 0x14]
ja 0x11d67d4c
mov eax, dword [esp + 0x18]
neg eax
and eax, 0x1f
mov ebp, eax
nop
mov ecx, ebx
mov eax, esi
and ecx, 0x1f
shl eax, cl
mov ecx, ebp
shr eax, cl
lea ecx, [edi + eax*4]
mov ax, word [ecx]
mov word [edx], ax
movzx eax, byte [ecx + 2]
add ebx, eax
movzx eax, byte [ecx + 3]
add edx, eax
cmp edx, dword [esp + 0x14]
jbe 0x11d67d20
mov dword [esp + 0x68], ebx
mov ebp, dword [esp + 0x18]
cmp edx, dword [esp + 0x24]
jae 0x11d67d66
push ebp
push edi
lea eax, [esp + 0x6c]
push eax
push edx
call fcn.11d66140
add esp, 0x10
mov ebp, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x5c]
cmp ebx, 0x20
jbe 0x11d67d89
mov esi, dword [esp + 0x50]
mov dword [esp + 0x24], 3
jmp 0x11d67df0
cmp ebp, dword [esp + 0x60]
jb 0x11d67da3
mov eax, ebx
mov dword [esp + 0x24], 0
shr eax, 3
sub ebp, eax
and ebx, 7
jmp 0x11d67de1
cmp ebp, esi
jne 0x11d67db9
mov esi, dword [esp + 0x50]
cmp ebx, 0x20
sbb eax, eax
add eax, 2
mov dword [esp + 0x24], eax
jmp 0x11d67df0
mov ecx, ebx
mov dword [esp + 0x24], 0
shr ecx, 3
mov eax, ebp
sub eax, ecx
cmp eax, esi
jae 0x11d67dda
mov ecx, ebp
mov dword [esp + 0x24], 1
sub ecx, esi
imul eax, ecx, 0xfffffff8
sub ebp, ecx
add ebx, eax
mov esi, dword [ebp]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebp
mov eax, dword [esp + 0x8c]
add eax, 0xfffffffd
cmp edx, eax
sbb ecx, ecx
xor eax, eax
neg ecx
cmp dword [esp + 0x24], eax
sete al
test eax, ecx
je 0x11d67e79
mov edi, dword [esp + 0x18]
mov ecx, ebx
and ecx, 0x1f
neg edi
mov edx, esi
and edi, 0x1f
mov esi, dword [esp + 0x34]
shl edx, cl
mov ecx, edi
shr edx, cl
mov ecx, dword [esp + 0x1c]
movzx eax, word [ecx + edx*4]
mov word [esi], ax
movzx esi, byte [ecx + edx*4 + 2]
movzx eax, byte [ecx + edx*4 + 3]
add esi, ebx
mov edx, dword [esp + 0x34]
mov ecx, esi
add edx, eax
and ecx, 0x1f
mov eax, dword [esp + 0x50]
shl eax, cl
mov ecx, edi
mov edi, dword [esp + 0x1c]
shr eax, cl
lea ecx, [edi + eax*4]
movzx eax, word [ecx]
mov word [edx], ax
movzx ebx, byte [ecx + 2]
movzx eax, byte [ecx + 3]
add ebx, esi
add edx, eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x34], edx
jmp 0x11d67d72
mov ecx, dword [esp + 0x8c]
add ecx, 0xfffffffe
mov dword [esp + 0x14], ecx
cmp ebx, 0x20
jbe 0x11d67e96
mov dword [esp + 0x24], 3
jmp 0x11d67f03
cmp ebp, dword [esp + 0x60]
jb 0x11d67eb0
mov eax, ebx
mov dword [esp + 0x24], 0
shr eax, 3
sub ebp, eax
and ebx, 7
jmp 0x11d67ef4
cmp ebp, dword [esp + 0x5c]
jne 0x11d67ec4
cmp ebx, 0x20
sbb eax, eax
add eax, 2
mov dword [esp + 0x24], eax
jmp 0x11d67f03
mov esi, dword [esp + 0x5c]
mov ecx, ebx
shr ecx, 3
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x24], 0
cmp eax, esi
jae 0x11d67ee9
mov ecx, ebp
mov dword [esp + 0x24], 1
sub ecx, esi
imul eax, ecx, 0xfffffff8
sub ebp, ecx
mov ecx, dword [esp + 0x14]
add ebx, eax
mov esi, dword [ebp]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebp
cmp ecx, edx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp dword [esp + 0x24], eax
sete al
test eax, ecx
je 0x11d67f55
mov ecx, ebx
mov edx, esi
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x18]
neg ecx
and ecx, 0x1f
shr edx, cl
mov ecx, dword [esp + 0x34]
mov ax, word [edi + edx*4]
mov word [ecx], ax
movzx eax, byte [edi + edx*4 + 2]
add ebx, eax
movzx eax, byte [edi + edx*4 + 3]
mov edx, ecx
mov dword [esp + 0x54], ebx
mov ecx, dword [esp + 0x14]
add edx, eax
mov dword [esp + 0x34], edx
jmp 0x11d67e87
cmp edx, dword [esp + 0x14]
ja 0x11d67f9c
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
neg eax
and eax, 0x1f
mov dword [esp + 0x30], eax
nop dword [eax]
mov ecx, ebx
mov eax, esi
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x30]
shr eax, cl
lea ecx, [edi + eax*4]
mov ax, word [ecx]
mov word [edx], ax
movzx eax, byte [ecx + 2]
add ebx, eax
movzx eax, byte [ecx + 3]
add edx, eax
cmp edx, ebp
jbe 0x11d67f70
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x18]
cmp edx, dword [esp + 0x8c]
jae 0x11d67fb9
push ebp
push edi
lea eax, [esp + 0x58]
push eax
push edx
call fcn.11d66140
add esp, 0x10
lea eax, [esp + 0x50]
push eax
call fcn.11d66120
mov edx, eax
lea eax, [esp + 0x68]
push eax
call fcn.11d66120
and edx, eax
lea eax, [esp + 0x80]
push eax
call fcn.11d66120
and edx, eax
lea eax, [esp + 0x48]
push eax
call fcn.11d66120
add esp, 0x10
test eax, edx
mov eax, dword [esp + 0xa4]
jne 0x11d67ffd
mov eax, 0xffffffec
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret