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

Disassembly:
mov edx, dword [esp + 0x10]
sub esp, 0xb4
cmp edx, 0xa
jae 0x1053ed1b
mov eax, 0xffffffec
add esp, 0xb4
ret
mov ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0xbc]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc4]
mov ebp, edx
add eax, esi
mov dword [esp + 0x68], eax
lea eax, [ecx + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xcc]
push edi
movzx ebx, word [eax + 2]
movzx edi, word [eax]
mov dword [esp + 0x64], ebx
movzx ebx, word [eax + 4]
add eax, 6
mov dword [esp + 0x68], eax
sub ebp, ebx
sub ebp, dword [esp + 0x64]
add eax, edi
mov dword [esp + 0x48], eax
sub ebp, edi
add eax, dword [esp + 0x64]
sub ebp, 6
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xcc]
add eax, 3
mov dword [esp + 0x10], ebx
shr eax, 2
mov dword [esp + 0x14], edi
lea ebx, [eax + esi]
lea edi, [ebx + eax]
mov dword [esp + 0x70], ebx
add eax, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x4c], eax
mov edi, ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx]
shr eax, 0x10
movzx ebx, al
mov dword [esp + 0x1c], edi
mov dword [esp + 0x3c], ebx
cmp ebp, edx
ja 0x1053f206
push dword [esp + 0x14]
lea eax, [esp + 0xb4]
push dword [esp + 0x6c]
push eax
call fcn.1053cfe0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x1053fc8c
push dword [esp + 0x64]
lea eax, [esp + 0x78]
push dword [esp + 0x4c]
push eax
call fcn.1053cfe0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x1053fc8c
push dword [esp + 0x10]
lea eax, [esp + 0x8c]
push dword [esp + 0x48]
push eax
call fcn.1053cfe0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x1053fc8c
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x44]
push ebp
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.1053cfe0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x1053fc8c
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x4c]
add eax, 0xfffffffd
mov ebp, dword [esp + 0xa0]
cmp edx, eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x54], eax
jae 0x1053f19c
mov eax, dword [esp + 0x74]
neg ebx
mov edx, dword [esp + 0xb4]
and ebx, 0x1f
mov edi, dword [esp + 0x78]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
mov ecx, edx
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x10]
shr eax, cl
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [esi], ax
movzx eax, byte [ecx + 2]
add edx, eax
movzx eax, byte [ecx + 3]
add esi, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x30]
mov ecx, edi
mov edx, dword [esp + 0x1c]
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x10]
shr eax, cl
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [edx], ax
movzx eax, byte [ecx + 2]
add edi, eax
mov edx, dword [esp + 0x60]
movzx eax, byte [ecx + 3]
mov ecx, ebx
add dword [esp + 0x1c], eax
and ecx, 0x1f
mov eax, dword [esp + 0x40]
shl eax, cl
mov ecx, dword [esp + 0x10]
shr eax, cl
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [edx], ax
movzx eax, byte [ecx + 2]
add ebx, eax
movzx eax, byte [ecx + 3]
add edx, eax
mov ecx, ebp
mov eax, dword [esp + 0x34]
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x10]
shr eax, cl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x5c]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [edx], ax
movzx eax, byte [ecx + 2]
add ebp, eax
movzx eax, byte [ecx + 3]
mov ecx, dword [esp + 0x14]
add edx, eax
mov eax, dword [esp + 0x38]
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x10]
shr eax, cl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], edx
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [esi], ax
movzx eax, byte [ecx + 2]
add eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 3]
mov ecx, edi
add esi, eax
and ecx, 0x1f
mov eax, dword [esp + 0x30]
shl eax, cl
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
shr eax, cl
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [edx], ax
movzx eax, byte [ecx + 2]
add eax, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx + 3]
mov ecx, ebx
add edx, eax
and ecx, 0x1f
mov eax, dword [esp + 0x40]
shl eax, cl
mov ecx, dword [esp + 0x10]
shr eax, cl
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x60]
lea ecx, [edi + eax*4]
movzx eax, word [ecx]
mov word [edx], ax
movzx eax, byte [ecx + 2]
add eax, ebx
mov dword [esp + 0x24], eax
movzx eax, byte [ecx + 3]
mov ecx, ebp
add edx, eax
and ecx, 0x1f
mov eax, dword [esp + 0x34]
shl eax, cl
mov ecx, dword [esp + 0x10]
shr eax, cl
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x5c]
lea ecx, [edi + eax*4]
movzx eax, word [ecx]
mov word [edx], ax
movzx eax, byte [ecx + 2]
add eax, ebp
mov dword [esp + 0x58], eax
movzx eax, byte [ecx + 3]
add edx, eax
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x48]
cmp edx, dword [esp + 0xc0]
jae 0x1053f07f
mov dword [esp + 0x14], 3
jmp 0x1053f0a3
mov ecx, dword [esp + 0x28]
mov eax, ecx
shr eax, 3
sub edx, eax
mov dword [esp + 0x14], 0
and ecx, 7
mov dword [esp + 0x48], edx
mov dword [esp + 0x28], ecx
mov eax, dword [edx]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x54]
cmp ecx, dword [esp + 0x84]
jae 0x1053f0ba
mov dword [esp + 0x68], 3
jmp 0x1053f0de
mov edi, dword [esp + 0x2c]
mov eax, edi
shr eax, 3
sub ecx, eax
mov dword [esp + 0x68], 0
and edi, 7
mov dword [esp + 0x54], ecx
mov dword [esp + 0x2c], edi
mov eax, dword [ecx]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x98]
jae 0x1053f0f9
mov dword [esp + 0x64], 3
jmp 0x1053f119
mov eax, ebx
mov dword [esp + 0x64], 0
shr eax, 3
sub ecx, eax
and ebx, 7
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], ebx
mov eax, dword [ecx]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x50]
mov ebp, dword [esp + 0x58]
cmp ecx, dword [esp + 0xac]
jae 0x1053f131
mov edx, 3
jmp 0x1053f14b
mov eax, ebp
and ebp, 7
shr eax, 3
sub ecx, eax
mov dword [esp + 0x58], ebp
mov dword [esp + 0x50], ecx
xor edx, edx
mov eax, dword [ecx]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x6c]
add ecx, 0xfffffffd
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0x5c], ecx
sbb ecx, ecx
xor eax, eax
neg ecx
test edx, edx
sete al
xor edx, edx
and ecx, eax
cmp dword [esp + 0x64], edx
cmove edx, ecx
xor eax, eax
cmp dword [esp + 0x68], eax
sete al
and edx, eax
xor eax, eax
cmp dword [esp + 0x14], eax
cmove eax, edx
mov edx, dword [esp + 0x28]
test eax, eax
jne 0x1053eed6
mov edi, dword [esp + 0x1c]
mov ebx, edx
mov edx, dword [esp + 0x4c]
jmp 0x1053f1f2
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x70]
cmp esi, eax
ja 0x1053f206
cmp edi, dword [esp + 0x20]
ja 0x1053f206
cmp dword [esp + 0x60], edx
jbe 0x1053f216
pop edi
pop esi
pop ebp
mov eax, 0xffffffec
pop ebx
add esp, 0xb4
ret
mov ebp, dword [esp + 0x48]
lea ecx, [eax - 3]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0xbc]
cmp ebx, 0x20
jbe 0x1053f238
mov edx, dword [esp + 0x38]
mov edi, 3
jmp 0x1053f28f
cmp ebp, dword [esp + 0xc0]
jb 0x1053f24f
mov eax, ebx
and ebx, 7
shr eax, 3
sub ebp, eax
xor edi, edi
jmp 0x1053f284
cmp ebp, edx
jne 0x1053f261
mov edx, dword [esp + 0x38]
cmp ebx, 0x20
sbb edi, edi
add edi, 2
jmp 0x1053f28f
mov ecx, ebx
mov eax, ebp
shr ecx, 3
xor edi, edi
sub eax, ecx
cmp eax, edx
jae 0x1053f279
mov ecx, ebp
mov edi, 1
sub ecx, edx
imul eax, ecx, 0xfffffff8
sub ebp, ecx
mov ecx, dword [esp + 0x14]
add ebx, eax
mov edx, dword [ebp]
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], ebx
cmp esi, ecx
sbb ecx, ecx
xor eax, eax
neg ecx
test edi, edi
sete al
test eax, ecx
je 0x1053f308
mov edi, dword [esp + 0x28]
mov eax, edx
mov ebx, dword [esp + 0x3c]
mov ecx, edi
and ecx, 0x1f
neg ebx
shl eax, cl
and ebx, 0x1f
mov ecx, ebx
shr eax, cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax*4]
movzx eax, word [edx]
mov word [esi], ax
movzx eax, byte [edx + 2]
add edi, eax
movzx eax, byte [edx + 3]
add esi, eax
mov ecx, edi
mov eax, dword [esp + 0x38]
and ecx, 0x1f
shl eax, cl
mov ecx, ebx
shr eax, cl
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + eax*4]
movzx eax, word [ecx]
mov word [esi], ax
movzx ebx, byte [ecx + 2]
movzx eax, byte [ecx + 3]
add ebx, edi
mov ecx, dword [esp + 0x14]
add esi, eax
mov dword [esp + 0x28], ebx
jmp 0x1053f221
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x18]
add edx, 0xfffffffe
mov dword [esp + 0x48], ebp
mov dword [esp + 0x64], edx
nop dword [eax + eax]
cmp ebx, 0x20
jbe 0x1053f332
mov dword [esp + 0x10], 3
jmp 0x1053f3b5
mov ecx, dword [esp + 0x48]
cmp ecx, dword [esp + 0xc0]
jb 0x1053f353
mov eax, ebx
mov dword [esp + 0x10], 0
shr eax, 3
sub ecx, eax
and ebx, 7
jmp 0x1053f3ab
cmp ecx, dword [esp + 0xbc]
jne 0x1053f379
mov edx, dword [esp + 0x3c]
cmp ebx, 0x20
jae 0x1053f36f
mov dword [esp + 0x10], 1
jmp 0x1053f3b9
mov dword [esp + 0x10], 2
jmp 0x1053f3b9
mov edx, ebx
mov dword [esp + 0x10], 0
shr edx, 3
mov eax, ecx
sub eax, edx
cmp eax, dword [esp + 0xbc]
jae 0x1053f3a4
mov edx, ecx
mov dword [esp + 0x10], 1
sub edx, dword [esp + 0xbc]
imul eax, edx, 0xfffffff8
sub ecx, edx
add ebx, eax
mov eax, dword [ecx]
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x3c]
neg edx
cmp dword [esp + 0x64], esi
mov dword [esp + 0x68], edx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp dword [esp + 0x10], eax
sete al
test eax, ecx
je 0x1053f403
mov edx, dword [esp + 0x38]
mov ecx, ebx
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x3c]
neg ecx
and ecx, 0x1f
shr edx, cl
mov ax, word [edi + edx*4]
mov word [esi], ax
movzx eax, byte [edi + edx*4 + 2]
add ebx, eax
movzx eax, byte [edi + edx*4 + 3]
add esi, eax
jmp 0x1053f320
mov dword [esp + 0x28], ebx
cmp esi, dword [esp + 0x64]
ja 0x1053f44e
mov ebp, dword [esp + 0x64]
and edx, 0x1f
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x38]
nop dword [eax]
mov ecx, ebx
mov eax, edx
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x14]
shr eax, cl
lea ecx, [edi + eax*4]
mov ax, word [ecx]
mov word [esi], ax
movzx eax, byte [ecx + 2]
add ebx, eax
movzx eax, byte [ecx + 3]
add esi, eax
cmp esi, ebp
jbe 0x1053f420
mov dword [esp + 0x28], ebx
jmp 0x1053f452
mov edx, dword [esp + 0x38]
cmp esi, dword [esp + 0x70]
jae 0x1053f49a
mov ecx, ebx
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x3c]
neg ecx
and ecx, 0x1f
shr edx, cl
mov al, byte [edi + edx*4]
mov byte [esi], al
cmp byte [edi + edx*4 + 3], 1
jne 0x1053f47f
movzx eax, byte [edi + edx*4 + 2]
add ebx, eax
jmp 0x1053f496
cmp ebx, 0x20
jae 0x1053f49a
movzx eax, byte [edi + edx*4 + 2]
add ebx, eax
mov eax, 0x20
cmp ebx, 0x20
cmova ebx, eax
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
add ecx, 0xfffffffd
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x54]
cmp edi, 0x20
jbe 0x1053f4c1
mov ebp, 3
jmp 0x1053f526
cmp edx, dword [esp + 0x84]
jb 0x1053f4d8
mov eax, edi
and edi, 7
shr eax, 3
sub edx, eax
xor ebp, ebp
jmp 0x1053f518
cmp edx, dword [esp + 0x80]
jne 0x1053f4eb
cmp edi, 0x20
sbb ebp, ebp
add ebp, 2
jmp 0x1053f526
mov ecx, edi
mov eax, edx
shr ecx, 3
xor ebp, ebp
sub eax, ecx
cmp eax, dword [esp + 0x80]
jae 0x1053f50d
mov ecx, edx
mov ebp, 1
sub ecx, dword [esp + 0x80]
imul eax, ecx, 0xfffffff8
sub edx, ecx
mov ecx, dword [esp + 0x14]
add edi, eax
mov eax, dword [edx]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x54], edx
cmp esi, ecx
sbb ecx, ecx
xor eax, eax
neg ecx
test ebp, ebp
sete al
test eax, ecx
je 0x1053f5a7
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
neg edi
mov eax, dword [esp + 0x30]
and ecx, 0x1f
shl eax, cl
and edi, 0x1f
mov ecx, edi
shr eax, cl
lea edx, [ebx + eax*4]
movzx eax, word [edx]
mov word [esi], ax
movzx esi, byte [edx + 2]
add esi, dword [esp + 0x2c]
movzx eax, byte [edx + 3]
mov ecx, esi
mov edx, dword [esp + 0x1c]
and ecx, 0x1f
add edx, eax
mov eax, dword [esp + 0x30]
shl eax, cl
mov ecx, edi
shr eax, cl
lea ecx, [ebx + eax*4]
mov dword [esp + 0x1c], edx
movzx eax, word [ecx]
mov word [edx], ax
movzx edi, byte [ecx + 2]
movzx eax, byte [ecx + 3]
add edi, esi
mov ecx, dword [esp + 0x14]
mov esi, edx
add esi, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], esi
jmp 0x1053f4b1
mov ebx, dword [esp + 0x68]
nop dword [eax + eax]
cmp edi, 0x20
jbe 0x1053f5c6
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], 3
jmp 0x1053f647
cmp edx, dword [esp + 0x84]
jb 0x1053f5e3
mov eax, edi
mov dword [esp + 0x10], 0
shr eax, 3
sub edx, eax
and edi, 7
jmp 0x1053f63d
cmp edx, dword [esp + 0x80]
jne 0x1053f60b
mov edx, dword [esp + 0x30]
mov eax, ebx
cmp edi, 0x20
jae 0x1053f601
mov dword [esp + 0x10], 1
jmp 0x1053f649
mov dword [esp + 0x10], 2
jmp 0x1053f649
mov ecx, edi
mov dword [esp + 0x10], 0
shr ecx, 3
mov eax, edx
sub eax, ecx
cmp eax, dword [esp + 0x80]
jae 0x1053f636
mov ecx, edx
mov dword [esp + 0x10], 1
sub ecx, dword [esp + 0x80]
imul eax, ecx, 0xfffffff8
sub edx, ecx
add edi, eax
mov dword [esp + 0x54], edx
mov edx, dword [edx]
mov dword [esp + 0x30], edx
mov eax, ebx
and eax, 0x1f
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffffe
cmp eax, esi
sbb ecx, ecx
xor eax, eax
inc ecx
cmp dword [esp + 0x10], eax
sete al
test eax, ecx
je 0x1053f699
mov ecx, edi
and ecx, 0x1f
shl edx, cl
mov ecx, ebx
and ecx, 0x1f
shr edx, cl
mov ecx, dword [esp + 0x18]
mov ax, word [ecx + edx*4]
mov word [esi], ax
movzx eax, byte [ecx + edx*4 + 2]
add edi, eax
movzx eax, byte [ecx + edx*4 + 3]
mov edx, dword [esp + 0x54]
add esi, eax
jmp 0x1053f5b0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
add eax, 0xfffffffe
mov dword [esp + 0x2c], edi
cmp esi, eax
ja 0x1053f6e5
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x30]
mov ecx, edi
mov eax, ebp
and ecx, 0x1f
shl eax, cl
mov ecx, ebx
shr eax, cl
lea ecx, [edx + eax*4]
mov ax, word [ecx]
mov word [esi], ax
movzx eax, byte [ecx + 2]
add edi, eax
movzx eax, byte [ecx + 3]
add esi, eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffffe
cmp esi, eax
jbe 0x1053f6b4
mov dword [esp + 0x2c], edi
cmp esi, dword [esp + 0x20]
jae 0x1053f730
mov eax, dword [esp + 0x30]
mov ecx, edi
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x3c]
neg ecx
and ecx, 0x1f
shr eax, cl
lea ecx, [edx + eax*4]
mov al, byte [ecx]
mov byte [esi], al
cmp byte [ecx + 3], 1
jne 0x1053f716
movzx eax, byte [ecx + 2]
add edi, eax
jmp 0x1053f72c
cmp edi, 0x20
jae 0x1053f730
movzx eax, byte [ecx + 2]
add edi, eax
mov eax, 0x20
cmp edi, 0x20
cmova edi, eax
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x24]
add ecx, 0xfffffffd
mov ebp, dword [esp + 0x44]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
nop dword [eax + eax]
cmp ebx, 0x20
jbe 0x1053f75c
mov esi, 3
jmp 0x1053f7ba
cmp ebp, dword [esp + 0x98]
jb 0x1053f773
mov eax, ebx
and ebx, 7
shr eax, 3
sub ebp, eax
xor esi, esi
jmp 0x1053f7b3
cmp ebp, dword [esp + 0x94]
jne 0x1053f786
cmp ebx, 0x20
sbb esi, esi
add esi, 2
jmp 0x1053f7ba
mov ecx, ebx
mov eax, ebp
shr ecx, 3
xor esi, esi
sub eax, ecx
cmp eax, dword [esp + 0x94]
jae 0x1053f7a8
mov ecx, ebp
mov esi, 1
sub ecx, dword [esp + 0x94]
imul eax, ecx, 0xfffffff8
sub ebp, ecx
mov ecx, dword [esp + 0x14]
add ebx, eax
mov eax, dword [ebp]
mov dword [esp + 0x40], eax
cmp edx, ecx
sbb ecx, ecx
xor eax, eax
neg ecx
test esi, esi
sete al
test eax, ecx
je 0x1053f837
mov edi, dword [esp + 0x3c]
mov ecx, ebx
mov eax, dword [esp + 0x40]
and ecx, 0x1f
shl eax, cl
neg edi
and edi, 0x1f
mov ecx, edi
shr eax, cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax*4]
mov ecx, dword [esp + 0x60]
movzx eax, word [edx]
mov word [ecx], ax
movzx esi, byte [edx + 2]
movzx eax, byte [edx + 3]
add esi, ebx
mov edx, ecx
mov ecx, esi
add edx, eax
and ecx, 0x1f
mov eax, dword [esp + 0x40]
shl eax, cl
mov ecx, edi
mov edi, dword [esp + 0x18]
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 + 0x14]
add edx, eax
mov dword [esp + 0x60], edx
jmp 0x1053f750
mov ecx, dword [esp + 0x4c]
add ecx, 0xfffffffe
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], ecx
nop
cmp ebx, 0x20
jbe 0x1053f85c
mov esi, 3
jmp 0x1053f8da
mov esi, dword [esp + 0x44]
cmp esi, dword [esp + 0x98]
jb 0x1053f87d
mov eax, ebx
and ebx, 7
shr eax, 3
sub esi, eax
mov dword [esp + 0x44], esi
mov eax, dword [esi]
xor esi, esi
jmp 0x1053f8d6
cmp esi, dword [esp + 0x94]
jne 0x1053f896
cmp ebx, 0x20
sbb eax, eax
add eax, 2
mov dword [esp + 0x20], eax
mov esi, eax
jmp 0x1053f8da
mov ecx, ebx
mov dword [esp + 0x20], 0
shr ecx, 3
mov eax, esi
sub eax, ecx
cmp eax, dword [esp + 0x94]
jae 0x1053f8c1
mov ecx, esi
mov dword [esp + 0x20], 1
sub ecx, dword [esp + 0x94]
sub esi, ecx
imul eax, ecx, 0xfffffff8
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], esi
add ebx, eax
mov eax, dword [esi]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x40], eax
cmp ecx, edx
sbb ecx, ecx
xor eax, eax
inc ecx
test esi, esi
sete al
test eax, ecx
je 0x1053f919
mov eax, dword [esp + 0x40]
mov ecx, ebx
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x1c]
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]
mov ecx, dword [esp + 0x10]
add edx, eax
jmp 0x1053f850
mov esi, dword [esp + 0x40]
mov dword [esp + 0x24], ebx
cmp edx, dword [esp + 0x10]
ja 0x1053f960
mov ebp, dword [esp + 0x1c]
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 + 0x10]
jbe 0x1053f930
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x24], ebx
cmp edx, dword [esp + 0x4c]
jae 0x1053f9a8
mov ecx, ebx
and ecx, 0x1f
shl esi, cl
mov ecx, dword [esp + 0x3c]
neg ecx
and ecx, 0x1f
shr esi, cl
mov al, byte [edi + esi*4]
mov byte [edx], al
cmp byte [edi + esi*4 + 3], 1
jne 0x1053f98d
movzx eax, byte [edi + esi*4 + 2]
add ebx, eax
jmp 0x1053f9a4
cmp ebx, 0x20
jae 0x1053f9a8
movzx eax, byte [edi + esi*4 + 2]
add ebx, eax
mov eax, 0x20
cmp ebx, 0x20
cmova ebx, eax
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x50]
add ecx, 0xfffffffd
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x14], ecx
nop dword [eax + eax]
cmp ebp, 0x20
jbe 0x1053f9cc
mov edx, 3
jmp 0x1053fa29
cmp ebx, dword [esp + 0xac]
jb 0x1053f9e3
mov eax, ebp
and ebp, 7
shr eax, 3
sub ebx, eax
xor edx, edx
jmp 0x1053fa23
cmp ebx, dword [esp + 0xa8]
jne 0x1053f9f6
cmp ebp, 0x20
sbb edx, edx
add edx, 2
jmp 0x1053fa29
mov ecx, ebp
mov eax, ebx
shr ecx, 3
xor edx, edx
sub eax, ecx
cmp eax, dword [esp + 0xa8]
jae 0x1053fa18
mov ecx, ebx
mov edx, 1
sub ecx, dword [esp + 0xa8]
imul eax, ecx, 0xfffffff8
sub ebx, ecx
mov ecx, dword [esp + 0x14]
add ebp, eax
mov eax, dword [ebx]
mov dword [esp + 0x34], eax
cmp esi, ecx
sbb ecx, ecx
xor eax, eax
neg ecx
test edx, edx
sete al
test eax, ecx
je 0x1053faaa
mov edi, dword [esp + 0x3c]
mov ecx, ebp
mov eax, dword [esp + 0x34]
and ecx, 0x1f
shl eax, cl
neg edi
and edi, 0x1f
mov ecx, edi
shr eax, cl
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax*4]
movzx eax, word [edx]
mov word [esi], ax
movzx esi, byte [edx + 2]
movzx eax, byte [edx + 3]
add esi, ebp
mov edx, dword [esp + 0x5c]
mov ecx, esi
add edx, eax
and ecx, 0x1f
mov eax, dword [esp + 0x34]
shl eax, cl
mov ecx, edi
mov edi, dword [esp + 0x18]
shr eax, cl
lea ecx, [edi + eax*4]
mov dword [esp + 0x5c], edx
movzx eax, word [ecx]
mov word [edx], ax
movzx ebp, byte [ecx + 2]
movzx eax, byte [ecx + 3]
add ebp, esi
mov ecx, dword [esp + 0x14]
mov esi, edx
add esi, eax
mov dword [esp + 0x5c], esi
jmp 0x1053f9c0
mov ecx, dword [esp + 0x6c]
add ecx, 0xfffffffe
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x20], ecx
nop dword [eax]
mov edx, dword [esp + 0x50]
cmp ebp, 0x20
jbe 0x1053fad3
mov dword [esp + 0x4c], 3
jmp 0x1053fb47
cmp edx, dword [esp + 0xac]
jb 0x1053faf0
mov eax, ebp
mov dword [esp + 0x4c], 0
shr eax, 3
sub edx, eax
and ebp, 7
jmp 0x1053fb3d
cmp edx, dword [esp + 0xa8]
jne 0x1053fb07
cmp ebp, 0x20
sbb eax, eax
add eax, 2
mov dword [esp + 0x4c], eax
jmp 0x1053fb47
mov ecx, ebp
mov dword [esp + 0x4c], 0
shr ecx, 3
mov eax, edx
sub eax, ecx
cmp eax, dword [esp + 0xa8]
jae 0x1053fb32
mov ecx, edx
mov dword [esp + 0x4c], 1
sub ecx, dword [esp + 0xa8]
imul eax, ecx, 0xfffffff8
sub edx, ecx
mov ecx, dword [esp + 0x20]
add ebp, eax
mov eax, dword [edx]
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], edx
cmp ecx, esi
sbb ecx, ecx
xor eax, eax
inc ecx
cmp dword [esp + 0x4c], eax
sete al
test eax, ecx
je 0x1053fb88
mov eax, dword [esp + 0x34]
mov ecx, ebp
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x1c]
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]
mov ecx, dword [esp + 0x20]
add esi, eax
jmp 0x1053fac0
cmp esi, dword [esp + 0x20]
ja 0x1053fbc6
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
mov ecx, ebp
mov eax, edx
and ecx, 0x1f
shl eax, cl
mov ecx, ebx
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 + 0x20]
jbe 0x1053fb96
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x50]
cmp esi, dword [esp + 0x6c]
jae 0x1053fc0f
mov ecx, ebp
and ecx, 0x1f
shl dword [esp + 0x34], cl
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
neg ecx
and ecx, 0x1f
shr eax, cl
lea ecx, [edi + eax*4]
mov al, byte [ecx]
mov byte [esi], al
cmp byte [ecx + 3], 1
jne 0x1053fbf9
movzx eax, byte [ecx + 2]
add ebp, eax
jmp 0x1053fc0f
cmp ebp, 0x20
jae 0x1053fc0f
movzx eax, byte [ecx + 2]
add ebp, eax
mov eax, 0x20
cmp ebp, 0x20
cmova ebp, eax
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0xbc]
jne 0x1053fc2a
cmp dword [esp + 0x28], 0x20
jne 0x1053fc2a
mov edi, 1
jmp 0x1053fc2c
xor edi, edi
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x80]
jne 0x1053fc47
cmp dword [esp + 0x2c], 0x20
jne 0x1053fc47
mov esi, 1
jmp 0x1053fc49
xor esi, esi
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x94]
jne 0x1053fc60
cmp ebx, 0x20
jne 0x1053fc60
lea ecx, [ebx - 0x1f]
jmp 0x1053fc62
xor ecx, ecx
cmp edx, dword [esp + 0xa8]
jne 0x1053fc75
cmp ebp, 0x20
jne 0x1053fc75
lea eax, [ebp - 0x1f]
jmp 0x1053fc77
xor eax, eax
and eax, ecx
mov ecx, 0xffffffec
and eax, esi
test edi, eax
mov eax, dword [esp + 0xcc]
cmove eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret