Function at 0x458a90
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, ecx
push edi
push dword [ebp + 0xc]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x30]
cmp word [esi + 2], 0
je 0x458ed0
mov dword [esp + 0x14], ebx
call fcn.0044a940
add esp, 4
cmp eax, 0xffffff88
ja 0x458e91
mov ecx, dword [esp + 0x30]
movzx esi, word [esi]
mov eax, dword [esp + 0x2c]
add ecx, esi
mov dword [esp + 0x30], ecx
neg ecx
and ecx, 0x1f
mov edi, dword [esi*4 + 0x4b2040]
shr eax, cl
lea ecx, [esp + 0x2c]
and eax, edi
mov dword [esp + 0x14], eax
call fcn.0044aa90
mov ecx, dword [esp + 0x30]
mov eax, dword [ebp + 0x10]
add ecx, esi
add eax, 4
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], eax
neg ecx
mov eax, dword [esp + 0x2c]
and ecx, 0x1f
shr eax, cl
lea ecx, [esp + 0x2c]
and eax, edi
mov dword [esp + 0x1c], eax
call fcn.0044aa90
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x38]
cmp esi, 0x20
jbe 0x458b4b
mov edx, 3
jmp 0x458b9a
cmp edi, dword [esp + 0x3c]
jb 0x458b65
mov eax, esi
and esi, 7
shr eax, 3
sub edi, eax
mov edx, dword [edi]
mov dword [esp + 0xc], edx
xor edx, edx
jmp 0x458b9a
cmp edi, edx
jne 0x458b73
cmp esi, 0x20
sbb edx, edx
add edx, 2
jmp 0x458b9a
mov ecx, esi
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp eax, edx
jae 0x458b8b
mov ecx, edi
sub ecx, edx
mov edx, 1
jmp 0x458b8d
xor edx, edx
imul eax, ecx, 0xfffffff8
sub edi, ecx
add esi, eax
mov eax, dword [edi]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
add eax, 0xfc
cmp ebx, eax
sbb ecx, ecx
xor eax, eax
neg ecx
test edx, edx
sete al
test eax, ecx
je 0x458d33
mov eax, dword [esp + 0x14]
mov ecx, esi
mov ebx, dword [esp + 0x20]
and ecx, 0x1f
mov ebx, dword [ebx + eax*4]
mov edx, ebx
mov eax, dword [esp + 0xc]
shl eax, cl
shr edx, 0x18
mov ecx, edx
neg ecx
and ecx, 0x1f
shr eax, cl
lea ecx, [edx + esi]
movzx edx, bx
add edx, eax
shr ebx, 0x10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x1c]
mov byte [eax], bl
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0xc]
mov edx, dword [eax + edx*4]
mov eax, edx
shr eax, 0x18
lea esi, [eax + ecx]
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 + 0x1c], ebx
mov ebx, dword [esp + 0x10]
mov byte [ebx + 1], dl
cmp esi, 0x20
ja 0x458d2c
cmp edi, dword [esp + 0x3c]
jb 0x458c4e
mov eax, esi
shr eax, 3
sub edi, eax
and esi, 7
mov dword [esp + 0x24], esi
mov eax, dword [edi]
mov dword [esp + 0xc], eax
jmp 0x458c9b
mov edx, dword [esp + 0x38]
cmp edi, edx
je 0x458d2c
mov ecx, esi
mov dword [esp + 0x28], 0
shr ecx, 3
mov eax, edi
sub eax, ecx
cmp eax, edx
jae 0x458c7b
mov ecx, edi
mov dword [esp + 0x28], 1
sub ecx, edx
sub edi, ecx
lea eax, [ecx*8]
sub esi, eax
cmp dword [esp + 0x28], 0
mov dword [esp + 0x24], esi
mov eax, dword [edi]
mov dword [esp + 0xc], eax
ja 0x458d2c
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
and ecx, 0x1f
mov edx, dword [ebx + eax*4]
mov eax, edx
mov ebx, dword [esp + 0xc]
shr eax, 0x18
add esi, eax
shl ebx, cl
neg eax
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x10]
and eax, 0x1f
mov ecx, eax
movzx eax, dx
shr dword [esp + 0x14], cl
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
shr edx, 0x10
mov byte [ebx + 2], dl
mov edx, dword [esp + 0x1c]
mov edx, dword [eax + edx*4]
mov eax, edx
shr eax, 0x18
lea ecx, [eax + esi]
and esi, 0x1f
mov dword [esp + 0x24], ecx
neg eax
mov ecx, dword [esp + 0xc]
and eax, 0x1f
mov dword [esp + 0x1c], ecx
mov ecx, esi
mov esi, dword [esp + 0x1c]
shl esi, cl
mov ecx, eax
shr esi, cl
movzx eax, dx
shr edx, 0x10
add esi, eax
mov byte [ebx + 3], dl
add ebx, 4
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x10], ebx
jmp 0x458b3b
add ebx, 2
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
add eax, 0xfd
cmp ebx, eax
ja 0x458e8c
mov eax, dword [esp + 0xc]
nop dword [eax + eax]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov ebx, dword [ebx + ecx*4]
mov ecx, esi
and ecx, 0x1f
mov edx, ebx
shl eax, cl
shr edx, 0x18
mov ecx, edx
add esi, edx
mov edx, dword [esp + 0x10]
neg ecx
and ecx, 0x1f
shr eax, cl
movzx ecx, bx
shr ebx, 0x10
add ecx, eax
mov byte [edx], bl
inc edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
cmp esi, 0x20
ja 0x458eb4
cmp edi, dword [esp + 0x3c]
jb 0x458daa
mov eax, esi
shr eax, 3
sub edi, eax
and esi, 7
mov eax, dword [edi]
mov dword [esp + 0xc], eax
jmp 0x458dde
mov ecx, dword [esp + 0x38]
cmp edi, ecx
je 0x458dda
mov edx, esi
mov eax, edi
shr edx, 3
sub eax, edx
cmp eax, ecx
jae 0x458dc3
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 + 0xc], eax
jmp 0x458dde
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
add ecx, 0xfd
cmp edx, ecx
ja 0x458e8c
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + edx*4]
mov ecx, esi
and ecx, 0x1f
mov edx, ebx
shl eax, cl
shr edx, 0x18
mov ecx, edx
add esi, edx
mov edx, dword [esp + 0x10]
neg ecx
and ecx, 0x1f
shr eax, cl
movzx ecx, bx
shr ebx, 0x10
add ecx, eax
mov byte [edx], bl
inc edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
cmp esi, 0x20
ja 0x458e98
cmp edi, dword [esp + 0x3c]
jb 0x458e46
mov eax, esi
shr eax, 3
sub edi, eax
and esi, 7
mov eax, dword [edi]
mov dword [esp + 0xc], eax
jmp 0x458e7a
mov ecx, dword [esp + 0x38]
cmp edi, ecx
je 0x458e76
mov edx, esi
mov eax, edi
shr edx, 3
sub eax, edx
cmp eax, ecx
jae 0x458e5f
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 + 0xc], eax
jmp 0x458e7a
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
add ecx, 0xfd
cmp edx, ecx
jbe 0x458d50
mov eax, 0xffffffba
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov al, byte [ecx + eax*4 + 2]
mov byte [edx], al
sub edx, dword [esp + 0x18]
lea eax, [edx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov al, byte [ecx + eax*4 + 2]
mov byte [edx], al
sub edx, dword [esp + 0x18]
lea eax, [edx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x20], ebx
call fcn.0044a940
add esp, 4
cmp eax, 0xffffff88
ja 0x458e91
mov ecx, dword [esp + 0x30]
movzx esi, word [esi]
mov eax, dword [esp + 0x2c]
add ecx, esi
mov dword [esp + 0x30], ecx
neg ecx
and ecx, 0x1f
mov edi, dword [esi*4 + 0x4b2040]
shr eax, cl
lea ecx, [esp + 0x2c]
and eax, edi
mov dword [esp + 0x14], eax
call fcn.0044aa90
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
lea ecx, [esp + 0x2c]
and eax, edi
mov dword [esp + 0x20], eax
call fcn.0044aa90
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x38]
cmp esi, 0x20
jbe 0x458f53
mov edx, 3
jmp 0x458fa2
cmp edi, dword [esp + 0x3c]
jb 0x458f6d
mov eax, esi
and esi, 7
shr eax, 3
sub edi, eax
mov edx, dword [edi]
mov dword [esp + 0xc], edx
xor edx, edx
jmp 0x458fa2
cmp edi, edx
jne 0x458f7b
cmp esi, 0x20
sbb edx, edx
add edx, 2
jmp 0x458fa2
mov ecx, esi
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp eax, edx
jae 0x458f93
mov ecx, edi
sub ecx, edx
mov edx, 1
jmp 0x458f95
xor edx, edx
imul eax, ecx, 0xfffffff8
sub edi, ecx
add esi, eax
mov eax, dword [edi]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
add eax, 0xfc
cmp ebx, eax
sbb ecx, ecx
xor eax, eax
neg ecx
test edx, edx
sete al
test eax, ecx
je 0x459136
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ecx + eax*4 + 4]
mov edx, ebx
mov eax, dword [esp + 0xc]
shr edx, 0x18
add esi, edx
mov ecx, esi
neg ecx
and ecx, 0x1f
shr eax, cl
and eax, dword [edx*4 + 0x4b2040]
movzx ecx, bx
add ecx, eax
shr ebx, 0x10
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x20]
mov byte [eax], bl
mov eax, dword [ebp + 0x10]
mov ebx, dword [esp + 0xc]
mov edx, dword [eax + ecx*4 + 4]
mov eax, edx
shr eax, 0x18
lea ecx, [eax + esi]
mov dword [esp + 0x24], ecx
lea ecx, [eax + esi]
mov esi, dword [esp + 0x24]
neg ecx
and ecx, 0x1f
shr ebx, cl
and ebx, dword [eax*4 + 0x4b2040]
movzx eax, dx
add ebx, eax
shr edx, 0x10
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x1c]
mov byte [ebx + 1], dl
cmp esi, 0x20
ja 0x45912f
cmp edi, dword [esp + 0x3c]
jb 0x45905c
mov eax, esi
shr eax, 3
sub edi, eax
and esi, 7
mov eax, dword [edi]
mov dword [esp + 0xc], eax
jmp 0x4590a5
mov edx, dword [esp + 0x38]
cmp edi, edx
je 0x45912f
mov ecx, esi
mov dword [esp + 0x28], 0
shr ecx, 3
mov eax, edi
sub eax, ecx
cmp eax, edx
jae 0x459089
mov ecx, edi
mov dword [esp + 0x28], 1
sub ecx, edx
sub edi, ecx
lea eax, [ecx*8]
sub esi, eax
cmp dword [esp + 0x28], 0
mov eax, dword [edi]
mov dword [esp + 0xc], eax
ja 0x45912f
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [esp + 0xc]
mov edx, dword [ecx + eax*4 + 4]
mov eax, edx
shr eax, 0x18
add esi, eax
mov ecx, esi
neg ecx
and ecx, 0x1f
shr ebx, cl
mov ecx, ebx
mov dword [esp + 0x14], ebx
and ecx, dword [eax*4 + 0x4b2040]
mov ebx, dword [esp + 0x1c]
movzx eax, dx
add ecx, eax
shr edx, 0x10
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x20]
mov byte [ebx + 2], dl
mov edx, dword [eax + ecx*4 + 4]
mov eax, edx
shr eax, 0x18
lea ecx, [eax + esi]
mov dword [esp + 0x24], ecx
lea ecx, [eax + esi]
mov esi, dword [esp + 0xc]
neg ecx
and ecx, 0x1f
shr esi, cl
and esi, dword [eax*4 + 0x4b2040]
movzx eax, dx
shr edx, 0x10
add esi, eax
mov byte [ebx + 3], dl
add ebx, 4
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x1c], ebx
jmp 0x458f43
add ebx, 2
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x18]
add eax, 0xfd
cmp ebx, eax
ja 0x458e8c
mov eax, dword [esp + 0xc]
nop dword [eax + eax]
mov ecx, dword [esp + 0x14]
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx + ecx*4 + 4]
mov edx, ebx
shr edx, 0x18
add esi, edx
mov ecx, esi
neg ecx
and ecx, 0x1f
shr eax, cl
and eax, dword [edx*4 + 0x4b2040]
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 esi, 0x20
ja 0x4592ab
cmp edi, dword [esp + 0x3c]
jb 0x4591aa
mov eax, esi
shr eax, 3
sub edi, eax
and esi, 7
mov eax, dword [edi]
mov dword [esp + 0xc], eax
jmp 0x4591da
mov ecx, dword [esp + 0x38]
cmp edi, ecx
je 0x4591d6
mov ebx, esi
mov eax, edi
shr ebx, 3
sub eax, ebx
cmp eax, ecx
jae 0x4591c3
mov ebx, edi
sub ebx, ecx
sub edi, ebx
lea eax, [ebx*8]
sub esi, eax
mov eax, dword [edi]
mov dword [esp + 0xc], eax
jmp 0x4591da
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
add ecx, 0xfd
cmp edx, ecx
ja 0x458e8c
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x10]
mov ebx, dword [edx + ecx*4 + 4]
mov edx, ebx
shr edx, 0x18
add esi, edx
mov ecx, esi
neg ecx
and ecx, 0x1f
shr eax, cl
and eax, dword [edx*4 + 0x4b2040]
mov edx, dword [esp + 0x1c]
movzx ecx, bx
shr ebx, 0x10
add ecx, eax
mov dword [esp + 0x20], ecx
mov byte [edx], bl
inc edx
mov dword [esp + 0x1c], edx
cmp esi, 0x20
ja 0x459290
cmp edi, dword [esp + 0x3c]
jb 0x459242
mov eax, esi
shr eax, 3
sub edi, eax
and esi, 7
mov eax, dword [edi]
mov dword [esp + 0xc], eax
jmp 0x459272
mov ecx, dword [esp + 0x38]
cmp edi, ecx
je 0x45926e
mov ebx, esi
mov eax, edi
shr ebx, 3
sub eax, ebx
cmp eax, ecx
jae 0x45925b
mov ebx, edi
sub ebx, ecx
sub edi, ebx
lea eax, [ebx*8]
sub esi, eax
mov eax, dword [edi]
mov dword [esp + 0xc], eax
jmp 0x459272
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
add ecx, 0xfd
cmp edx, ecx
jbe 0x459150
mov eax, 0xffffffba
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x10]
mov al, byte [ecx + eax*4 + 6]
mov byte [edx], al
sub edx, dword [esp + 0x18]
lea eax, [edx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov al, byte [eax + ecx*4 + 6]
mov byte [edx], al
sub edx, dword [esp + 0xc]
lea eax, [edx + 1]
mov esp, ebp
pop ebp
ret