Function at 0x1053d3b0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add eax, ecx
push ebx
push ebp
mov ebp, dword [esp + 0x48]
mov ebx, ecx
push esi
push edi
push dword [esp + 0x4c]
cmp word [ebp + 2], 0
push dword [esp + 0x4c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x30]
push eax
je 0x1053d7df
mov dword [esp + 0x1c], ebx
call fcn.1053cfe0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x1053d79d
mov ecx, dword [esp + 0x2c]
movzx esi, word [ebp]
mov eax, dword [esp + 0x28]
add ecx, esi
mov dword [esp + 0x2c], ecx
neg ecx
and ecx, 0x1f
mov edi, dword [esi*4 + 0x10a60db8]
shr eax, cl
and eax, edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x28]
push eax
call fcn.1053d120
mov ecx, dword [esp + 0x30]
lea eax, [ebp + 4]
add ecx, esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
neg ecx
and ecx, 0x1f
shr eax, cl
and eax, edi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x2c]
push eax
call fcn.1053d120
mov eax, dword [esp + 0x30]
add esp, 8
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
mov esi, dword [esp + 0x34]
cmp ebp, 0x20
jbe 0x1053d477
mov edx, 3
jmp 0x1053d4d5
cmp edi, dword [esp + 0x38]
jb 0x1053d491
mov eax, ebp
and ebp, 7
shr eax, 3
sub edi, eax
mov edx, dword [edi]
mov dword [esp + 0x50], edx
xor edx, edx
jmp 0x1053d4d5
cmp edi, esi
jne 0x1053d4a3
cmp ebp, 0x20
sbb eax, eax
add eax, 2
mov dword [esp + 0x24], eax
jmp 0x1053d4d1
mov ecx, ebp
mov dword [esp + 0x24], 0
shr ecx, 3
mov eax, edi
sub eax, ecx
cmp eax, esi
jae 0x1053d4c4
mov ecx, edi
mov dword [esp + 0x24], 1
sub ecx, esi
sub edi, ecx
imul eax, ecx, 0xfffffff8
mov edx, dword [edi]
add ebp, eax
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add eax, 0xfffffffd
cmp ebx, eax
sbb ecx, ecx
xor eax, eax
neg ecx
test edx, edx
sete al
test eax, ecx
je 0x1053d647
mov edx, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [esp + 0x1c]
and ecx, 0x1f
mov ebx, dword [eax + edx*4]
mov edx, ebx
mov eax, dword [esp + 0x50]
shl eax, cl
shr edx, 0x18
mov ecx, edx
neg ecx
and ecx, 0x1f
shr eax, cl
lea ecx, [edx + ebp]
mov ebp, dword [esp + 0x18]
movzx edx, bx
add edx, eax
shr ebx, 0x10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], edx
mov byte [eax], bl
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x50]
mov edx, dword [eax + ebp*4]
mov eax, edx
shr eax, 0x18
lea ebp, [ecx + eax]
neg eax
and ecx, 0x1f
and eax, 0x1f
shl ebx, cl
mov ecx, eax
shr ebx, cl
movzx eax, dx
add ebx, eax
shr edx, 0x10
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x10]
mov byte [ebx + 1], dl
cmp ebp, 0x20
ja 0x1053d640
cmp edi, dword [esp + 0x38]
jb 0x1053d583
mov eax, ebp
shr eax, 3
sub edi, eax
and ebp, 7
mov ecx, dword [edi]
mov dword [esp + 0x50], ecx
jmp 0x1053d5bc
cmp edi, esi
je 0x1053d640
mov ecx, ebp
mov eax, edi
shr ecx, 3
xor edx, edx
sub eax, ecx
cmp eax, esi
jae 0x1053d5a3
mov ecx, edi
mov edx, 1
sub ecx, esi
sub edi, ecx
lea eax, [ecx*8]
sub ebp, eax
mov ecx, dword [edi]
mov dword [esp + 0x50], ecx
test edx, edx
jne 0x1053d640
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + edx*4]
mov eax, edx
shr eax, 0x18
lea esi, [eax + ebp]
and ebp, 0x1f
neg eax
mov ecx, ebp
mov ebp, dword [esp + 0x14]
and eax, 0x1f
shl ebp, cl
mov ecx, eax
shr ebp, cl
mov ecx, dword [esp + 0x50]
movzx eax, dx
add ebp, eax
shr edx, 0x10
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x18]
mov byte [ebx + 2], dl
mov dword [esp + 0x18], ecx
mov edx, dword [eax + ebp*4]
mov eax, edx
shr eax, 0x18
lea ebp, [esi + eax]
and esi, 0x1f
mov ecx, esi
neg eax
mov esi, dword [esp + 0x18]
and eax, 0x1f
shl esi, cl
mov ecx, eax
movzx eax, dx
shr esi, cl
shr edx, 0x10
add esi, eax
mov byte [ebx + 3], dl
add ebx, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], ebx
jmp 0x1053d467
add ebx, 2
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x20]
add eax, 0xfffffffe
cmp ebx, eax
ja 0x1053d798
mov eax, dword [esp + 0x50]
nop word [eax + eax]
mov edx, dword [esp + 0x14]
mov ecx, ebp
mov ebx, dword [esp + 0x1c]
and ecx, 0x1f
shl eax, cl
mov ebx, dword [ebx + edx*4]
mov edx, ebx
shr edx, 0x18
mov ecx, edx
neg ecx
and ecx, 0x1f
lea esi, [edx + ebp]
shr eax, cl
mov edx, dword [esp + 0x10]
movzx ecx, bx
shr ebx, 0x10
add ecx, eax
mov dword [esp + 0x14], ecx
mov byte [edx], bl
inc edx
mov dword [esp + 0x10], edx
cmp esi, 0x20
ja 0x1053d7c2
cmp edi, dword [esp + 0x38]
jb 0x1053d6bb
mov eax, esi
shr eax, 3
sub edi, eax
and esi, 7
mov eax, dword [edi]
mov dword [esp + 0x50], eax
jmp 0x1053d6ef
mov ecx, dword [esp + 0x34]
cmp edi, ecx
je 0x1053d6eb
mov edx, esi
mov eax, edi
shr edx, 3
sub eax, edx
cmp eax, ecx
jae 0x1053d6d4
mov edx, edi
sub edx, ecx
sub edi, edx
lea eax, [edx*8]
mov edx, dword [esp + 0x10]
sub esi, eax
mov eax, dword [edi]
mov dword [esp + 0x50], eax
jmp 0x1053d6ef
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffffe
cmp edx, ecx
ja 0x1053d798
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ecx + ebp*4]
mov edx, ebx
shr edx, 0x18
mov ecx, esi
and ecx, 0x1f
shl eax, cl
mov ecx, edx
neg ecx
and ecx, 0x1f
lea ebp, [edx + esi]
mov edx, dword [esp + 0x10]
shr eax, cl
movzx ecx, bx
shr ebx, 0x10
add ecx, eax
mov byte [edx], bl
inc edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
cmp ebp, 0x20
ja 0x1053d7a5
cmp edi, dword [esp + 0x38]
jb 0x1053d755
mov eax, ebp
shr eax, 3
sub edi, eax
and ebp, 7
mov eax, dword [edi]
mov dword [esp + 0x50], eax
jmp 0x1053d789
mov ecx, dword [esp + 0x34]
cmp edi, ecx
je 0x1053d785
mov edx, ebp
mov eax, edi
shr edx, 3
sub eax, edx
cmp eax, ecx
jae 0x1053d76e
mov edx, edi
sub edx, ecx
sub edi, edx
lea eax, [edx*8]
mov edx, dword [esp + 0x10]
sub ebp, eax
mov eax, dword [edi]
mov dword [esp + 0x50], eax
jmp 0x1053d789
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffffe
cmp edx, ecx
jbe 0x1053d660
mov eax, 0xffffffba
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov al, byte [ecx + eax*4 + 2]
mov byte [edx], al
sub edx, dword [esp + 0x34]
pop ebx
lea eax, [edx + 1]
add esp, 0x2c
ret
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov al, byte [eax + ebp*4 + 2]
mov byte [edx], al
sub edx, dword [esp + 0x38]
pop ebp
pop ebx
lea eax, [edx + 1]
add esp, 0x2c
ret
mov dword [esp + 0x28], ebx
call fcn.1053cfe0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x1053d79d
mov ecx, dword [esp + 0x2c]
movzx esi, word [ebp]
mov eax, dword [esp + 0x28]
add ecx, esi
mov dword [esp + 0x2c], ecx
neg ecx
and ecx, 0x1f
mov edi, dword [esi*4 + 0x10a60db8]
shr eax, cl
and eax, edi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
call fcn.1053d120
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add ecx, esi
mov dword [esp + 0x30], ecx
neg ecx
and ecx, 0x1f
shr eax, cl
and eax, edi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x2c]
push eax
call fcn.1053d120
mov eax, dword [esp + 0x30]
add esp, 8
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x34]
cmp ebp, 0x20
jbe 0x1053d868
mov edx, 3
jmp 0x1053d8b1
cmp edi, dword [esp + 0x38]
jb 0x1053d87c
mov eax, ebp
and ebp, 7
shr eax, 3
sub edi, eax
xor edx, edx
jmp 0x1053d8ab
cmp edi, edx
jne 0x1053d88a
cmp ebp, 0x20
sbb edx, edx
add edx, 2
jmp 0x1053d8b1
mov ecx, ebp
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp eax, edx
jae 0x1053d8a2
mov ecx, edi
sub ecx, edx
mov edx, 1
jmp 0x1053d8a4
xor edx, edx
imul eax, ecx, 0xfffffff8
sub edi, ecx
add ebp, eax
mov esi, dword [edi]
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x20]
add eax, 0xfffffffd
cmp ebx, eax
sbb ecx, ecx
xor eax, eax
neg ecx
test edx, edx
sete al
test eax, ecx
je 0x1053da1f
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x50]
mov ebx, dword [eax + ecx*4 + 4]
mov edx, ebx
mov eax, dword [esp + 0x10]
shr edx, 0x18
lea esi, [edx + ebp]
mov ecx, esi
neg ecx
and ecx, 0x1f
shr eax, cl
and eax, dword [edx*4 + 0x10a60db8]
movzx ecx, bx
add ecx, eax
shr ebx, 0x10
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov byte [eax], bl
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x1c]
mov edx, dword [eax + ecx*4 + 4]
mov eax, edx
shr eax, 0x18
lea ecx, [eax + esi]
lea ebp, [eax + esi]
neg ecx
mov esi, dword [esp + 0x10]
and ecx, 0x1f
shr esi, cl
and esi, dword [eax*4 + 0x10a60db8]
movzx eax, dx
add esi, eax
shr edx, 0x10
mov dword [esp + 0x14], esi
mov byte [ebx + 1], dl
cmp ebp, 0x20
ja 0x1053da18
cmp edi, dword [esp + 0x38]
jb 0x1053d964
mov eax, ebp
shr eax, 3
sub edi, eax
and ebp, 7
mov eax, dword [edi]
mov dword [esp + 0x10], eax
jmp 0x1053d99d
mov edx, dword [esp + 0x34]
cmp edi, edx
je 0x1053da18
mov ecx, ebp
mov eax, edi
shr ecx, 3
xor esi, esi
sub eax, ecx
cmp eax, edx
jae 0x1053d988
mov ecx, edi
mov esi, 1
sub ecx, edx
sub edi, ecx
lea eax, [ecx*8]
sub ebp, eax
mov eax, dword [edi]
mov dword [esp + 0x10], eax
test esi, esi
jne 0x1053da18
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x50]
mov edx, dword [eax + ecx*4 + 4]
mov eax, edx
shr eax, 0x18
lea esi, [eax + ebp]
mov ebp, dword [esp + 0x10]
mov ecx, esi
neg ecx
and ecx, 0x1f
shr ebp, cl
and ebp, dword [eax*4 + 0x10a60db8]
mov ecx, dword [esp + 0x14]
movzx eax, dx
add ebp, eax
shr edx, 0x10
mov eax, dword [esp + 0x50]
mov byte [ebx + 2], dl
mov dword [esp + 0x18], ebp
mov edx, dword [eax + ecx*4 + 4]
mov eax, edx
shr eax, 0x18
lea ecx, [eax + esi]
lea ebp, [eax + esi]
neg ecx
mov esi, dword [esp + 0x10]
and ecx, 0x1f
shr esi, cl
and esi, dword [eax*4 + 0x10a60db8]
movzx eax, dx
shr edx, 0x10
add esi, eax
mov byte [ebx + 3], dl
add ebx, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ebx
jmp 0x1053d858
add ebx, 2
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x20]
add eax, 0xfffffffe
cmp ebx, eax
ja 0x1053d798
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x50]
mov ebx, dword [ebx + ecx*4 + 4]
mov edx, ebx
shr edx, 0x18
lea esi, [edx + ebp]
mov ecx, esi
neg ecx
and ecx, 0x1f
shr eax, cl
and eax, dword [edx*4 + 0x10a60db8]
mov edx, dword [esp + 0x1c]
movzx ecx, bx
shr ebx, 0x10
add ecx, eax
mov dword [esp + 0x18], ecx
mov byte [edx], bl
inc edx
mov dword [esp + 0x1c], edx
cmp esi, 0x20
ja 0x1053db8e
cmp edi, dword [esp + 0x38]
jb 0x1053da8e
mov eax, esi
shr eax, 3
sub edi, eax
and esi, 7
mov eax, dword [edi]
mov dword [esp + 0x10], eax
jmp 0x1053dabe
mov ecx, dword [esp + 0x34]
cmp edi, ecx
je 0x1053daba
mov ebx, esi
mov eax, edi
shr ebx, 3
sub eax, ebx
cmp eax, ecx
jae 0x1053daa7
mov ebx, edi
sub ebx, ecx
sub edi, ebx
lea eax, [ebx*8]
sub esi, eax
mov eax, dword [edi]
mov dword [esp + 0x10], eax
jmp 0x1053dabe
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffffe
cmp edx, ecx
ja 0x1053d798
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
mov ebx, dword [edx + ecx*4 + 4]
mov edx, ebx
shr edx, 0x18
lea ebp, [edx + esi]
mov ecx, ebp
neg ecx
and ecx, 0x1f
shr eax, cl
and eax, dword [edx*4 + 0x10a60db8]
mov edx, dword [esp + 0x1c]
movzx ecx, bx
shr ebx, 0x10
add ecx, eax
mov dword [esp + 0x14], ecx
mov byte [edx], bl
inc edx
mov dword [esp + 0x1c], edx
cmp ebp, 0x20
ja 0x1053db71
cmp edi, dword [esp + 0x38]
jb 0x1053db25
mov eax, ebp
shr eax, 3
sub edi, eax
and ebp, 7
mov eax, dword [edi]
mov dword [esp + 0x10], eax
jmp 0x1053db55
mov ecx, dword [esp + 0x34]
cmp edi, ecx
je 0x1053db51
mov esi, ebp
mov eax, edi
shr esi, 3
sub eax, esi
cmp eax, ecx
jae 0x1053db3e
mov esi, edi
sub esi, ecx
sub edi, esi
lea eax, [esi*8]
sub ebp, eax
mov eax, dword [edi]
mov dword [esp + 0x10], eax
jmp 0x1053db55
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffffe
cmp edx, ecx
jbe 0x1053da32
pop edi
pop esi
pop ebp
mov eax, 0xffffffba
pop ebx
add esp, 0x2c
ret
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov al, byte [eax + ecx*4 + 6]
mov byte [edx], al
sub edx, dword [esp + 0x34]
pop ebx
lea eax, [edx + 1]
add esp, 0x2c
ret
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov al, byte [eax + ecx*4 + 6]
mov byte [edx], al
sub edx, dword [esp + 0x34]
pop ebx
lea eax, [edx + 1]
add esp, 0x2c
ret