Function at 0x4664e3
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
dec dword [ebp + 0x10]
push edi
mov edi, dword [ecx]
mov edx, edi
mov eax, dword [esi + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edx
cmp eax, 0xb
ja case.0x466520.8
movzx eax, byte [eax + 0x466dcb]
jmp dword [eax*4 + 0x466daf]
mov eax, dword [esi]
test eax, eax
je 0x466556
mov eax, dword [eax]
test edi, edi
jle 0x466556
mov edi, eax
lea eax, [edx + ebx]
sar eax, 1
cmp edi, dword [ecx + eax*4 + 8]
ja 0x46654c
jne 0x466548
cmp dword [esi + 8], 0
je 0x46654c
mov edx, eax
jmp 0x46654f
lea ebx, [eax + 1]
cmp ebx, edx
jl 0x466535
mov edi, dword [ebp - 0x18]
mov eax, dword [esi + 0xc]
test eax, eax
je case.0x466520.8
cmp dword [ebp + 0x10], 0
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jne 0x4665c7
cmp ebx, edi
jge 0x466d9a
mov eax, 0x3ff
lea edx, [ecx + 8]
sub eax, ebx
lea edx, [edx + ebx*4]
mov dword [ebp + 8], edx
lea eax, [ecx + eax*4]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0x14]
cmp dword [edx], ecx
ja 0x466da3
jne 0x4665a1
cmp dword [ebp - 0x10], 0
je 0x466da3
push dword [eax]
lea ecx, [esi + 0x1c]
call fcn.0046ad01
mov edx, dword [ebp + 8]
inc ebx
mov eax, dword [ebp + 0x10]
add edx, 4
sub eax, 4
mov dword [ebp + 8], edx
mov dword [ebp + 0x10], eax
cmp ebx, edi
jl 0x46658a
jmp 0x466d9a
mov edx, dword [ebp + 8]
lea eax, [edx + 0x60]
mov dword [ebp - 0xc], eax
lea eax, [ecx + 8]
lea eax, [eax + ebx*4]
mov dword [ebp + 0xc], eax
mov eax, 0x3ff
sub eax, ebx
lea ecx, [ecx + eax*4]
mov dword [ebp - 0x18], ecx
push dword [ecx]
mov ecx, edx
call fcn.004656cd
push dword [ebp + 0x10]
mov ecx, eax
mov dword [ebp - 0x10], eax
push esi
push dword [ebp + 8]
call fcn.004664e3
mov ecx, dword [ebp - 0xc]
push dword [ebp - 0x10]
test al, al
je 0x466d9e
call fcn.0046f51b
cmp ebx, edi
je 0x466d9a
mov ecx, dword [ebp + 0xc]
inc ebx
mov eax, dword [ecx]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 0x18]
sub ecx, 4
mov dword [ebp - 0x18], ecx
cmp eax, dword [ebp - 0x14]
ja 0x466da3
mov edx, dword [ebp + 8]
jmp 0x4665e6
mov eax, dword [esi]
test eax, eax
je 0x466680
mov al, byte [eax]
mov byte [ebp + 0xf], al
test edi, edi
jle 0x466680
lea eax, [edx + ebx]
sar eax, 1
mov dl, byte [eax + ecx + 8]
cmp byte [ebp + 0xf], dl
mov byte [ebp - 5], dl
mov edx, dword [ebp - 0x14]
jg 0x466679
mov cl, byte [ebp + 0xf]
cmp cl, byte [ebp - 5]
mov ecx, dword [ebp - 0xc]
jne 0x466672
cmp dword [esi + 8], 0
je 0x466679
mov edx, eax
mov dword [ebp - 0x14], edx
jmp 0x46667c
lea ebx, [eax + 1]
cmp ebx, edx
jl 0x46664d
mov edx, dword [esi + 0xc]
test edx, edx
je case.0x466520.8
cmp dword [ebp + 0x10], 0
mov dl, byte [edx]
mov byte [ebp + 0xf], dl
jne 0x4666e4
cmp ebx, edi
jge 0x466d9a
mov eax, 0x3ff
sub eax, ebx
lea eax, [ecx + eax*4]
mov dword [ebp + 8], eax
cmp byte [ecx + ebx + 8], dl
jg 0x466da3
jne 0x4666c1
cmp dword [ebp - 0x10], 0
je 0x466da3
push dword [eax]
lea ecx, [esi + 0x1c]
call fcn.0046ad01
mov eax, dword [ebp + 8]
inc ebx
mov ecx, dword [ebp - 0xc]
sub eax, 4
mov dl, byte [ebp + 0xf]
mov dword [ebp + 8], eax
cmp ebx, edi
jl 0x4666ab
jmp 0x466d9a
mov eax, dword [ebp + 8]
add eax, 0x60
mov dword [ebp - 0xc], eax
lea eax, [ecx + 8]
add eax, ebx
mov dword [ebp - 0x14], eax
mov eax, 0x3ff
sub eax, ebx
lea edx, [ecx + eax*4]
mov dword [ebp - 0x18], edx
push dword [edx]
mov ecx, dword [ebp + 8]
call fcn.004656cd
push dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, eax
push esi
push edx
mov dword [ebp - 0x10], eax
call fcn.004664e3
mov ecx, dword [ebp - 0xc]
push dword [ebp - 0x10]
test al, al
je 0x466d9e
call fcn.0046f51b
cmp ebx, edi
je 0x466d9a
mov ecx, dword [ebp - 0x14]
inc ebx
mov edx, dword [ebp - 0x18]
sub edx, 4
mov dword [ebp - 0x18], edx
mov al, byte [ecx]
inc ecx
mov dword [ebp - 0x14], ecx
cmp al, byte [ebp + 0xf]
jle 0x466702
jmp 0x466da3
mov eax, dword [esi]
test eax, eax
je 0x466785
mov eax, dword [eax]
test edi, edi
jle 0x466785
mov edi, eax
lea eax, [edx + ebx]
sar eax, 1
cmp edi, dword [ecx + eax*4 + 8]
jg 0x46677b
jne 0x466777
cmp dword [esi + 8], 0
je 0x46677b
mov edx, eax
jmp 0x46677e
lea ebx, [eax + 1]
cmp ebx, edx
jl 0x466764
mov edi, dword [ebp - 0x18]
mov eax, dword [esi + 0xc]
test eax, eax
je case.0x466520.8
cmp dword [ebp + 0x10], 0
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jne 0x4667f6
cmp ebx, edi
jge 0x466d9a
mov eax, 0x3ff
lea edx, [ecx + 8]
sub eax, ebx
lea edx, [edx + ebx*4]
mov dword [ebp + 8], edx
lea eax, [ecx + eax*4]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0x14]
cmp dword [edx], ecx
jg 0x466da3
jne 0x4667d0
cmp dword [ebp - 0x10], 0
je 0x466da3
push dword [eax]
lea ecx, [esi + 0x1c]
call fcn.0046ad01
mov edx, dword [ebp + 8]
inc ebx
mov eax, dword [ebp + 0x10]
add edx, 4
sub eax, 4
mov dword [ebp + 8], edx
mov dword [ebp + 0x10], eax
cmp ebx, edi
jl 0x4667b9
jmp 0x466d9a
mov edx, dword [ebp + 8]
lea eax, [edx + 0x60]
mov dword [ebp - 0xc], eax
lea eax, [ecx + 8]
lea eax, [eax + ebx*4]
mov dword [ebp + 0xc], eax
mov eax, 0x3ff
sub eax, ebx
lea ecx, [ecx + eax*4]
mov dword [ebp - 0x18], ecx
push dword [ecx]
mov ecx, edx
call fcn.004656cd
push dword [ebp + 0x10]
mov ecx, eax
mov dword [ebp - 0x10], eax
push esi
push dword [ebp + 8]
call fcn.004664e3
mov ecx, dword [ebp - 0xc]
push dword [ebp - 0x10]
test al, al
je 0x466d9e
call fcn.0046f51b
cmp ebx, edi
je 0x466d9a
mov ecx, dword [ebp + 0xc]
inc ebx
mov eax, dword [ecx]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 0x18]
sub ecx, 4
mov dword [ebp - 0x18], ecx
cmp eax, dword [ebp - 0x14]
jg 0x466da3
mov edx, dword [ebp + 8]
jmp 0x466815
mov eax, dword [esi]
test eax, eax
je 0x4668c7
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
test edi, edi
jle 0x4668c7
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x14]
lea eax, [edx + ebx]
sar eax, 1
cmp esi, dword [ecx + eax*8 + 0xc]
mov esi, dword [ebp + 0xc]
jg 0x4668bd
jl 0x4668a1
cmp edi, dword [ecx + eax*8 + 8]
ja 0x4668bd
cmp edi, dword [ecx + eax*8 + 8]
jne 0x4668b9
mov edi, dword [ebp - 0x14]
cmp edi, dword [ecx + eax*8 + 0xc]
mov edi, dword [ebp - 0xc]
jne 0x4668b9
cmp dword [esi + 8], 0
je 0x4668bd
mov edx, eax
jmp 0x4668c0
lea ebx, [eax + 1]
cmp ebx, edx
jl 0x466888
mov edi, dword [ebp - 0x18]
mov eax, dword [esi + 0xc]
test eax, eax
je case.0x466520.8
cmp dword [ebp + 0x10], 0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], edx
mov dword [ebp + 0xc], eax
jne 0x466956
cmp ebx, edi
jge 0x466d9a
mov eax, 0x3ff
lea edx, [ecx + 8]
sub eax, ebx
lea edx, [edx + ebx*8]
mov dword [ebp + 8], edx
lea eax, [ecx + eax*4]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0xc]
cmp dword [edx + 4], ecx
jg 0x466da3
mov ecx, dword [ebp - 0x18]
jl 0x46691a
cmp dword [edx], ecx
ja 0x466da3
cmp dword [edx], ecx
jne 0x466930
mov ecx, dword [ebp + 0xc]
cmp dword [edx + 4], ecx
jne 0x466930
cmp dword [ebp - 0x10], 0
je 0x466da3
push dword [eax]
lea ecx, [esi + 0x1c]
call fcn.0046ad01
mov edx, dword [ebp + 8]
inc ebx
mov eax, dword [ebp + 0x10]
add edx, 8
sub eax, 4
mov dword [ebp + 8], edx
mov dword [ebp + 0x10], eax
cmp ebx, edi
jl 0x466901
jmp 0x466d9a
mov edx, dword [ebp + 8]
lea eax, [edx + 0x60]
mov dword [ebp - 0x1c], eax
lea eax, [ecx + 8]
lea eax, [eax + ebx*8]
mov dword [ebp - 0x10], eax
mov eax, 0x3ff
sub eax, ebx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x14], eax
push dword [eax]
mov ecx, edx
call fcn.004656cd
push dword [ebp + 0x10]
mov ecx, eax
mov dword [ebp - 0xc], eax
push esi
push dword [ebp + 8]
call fcn.004664e3
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0xc]
test al, al
je 0x466d9e
call fcn.0046f51b
cmp ebx, edi
je 0x466d9a
mov ecx, dword [ebp - 0x10]
inc ebx
sub dword [ebp - 0x14], 4
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
add ecx, 8
mov dword [ebp - 0x10], ecx
cmp eax, dword [ebp + 0xc]
jg 0x466da3
jl 0x4669d1
cmp edx, dword [ebp - 0x18]
ja 0x466da3
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
jmp 0x466975
mov eax, dword [esi]
test eax, eax
je 0x466a18
movsd xmm0, qword [eax]
test edi, edi
jle 0x466a18
lea eax, [edx + ebx]
sar eax, 1
mov dword [ebp + 0xc], eax
comisd xmm0, xmmword [ecx + eax*8 + 8]
ja 0x466a11
ucomisd xmm0, qword [ecx + eax*8 + 8]
lahf
test ah, 0x44
jp 0x466a09
cmp dword [esi + 8], 0
je 0x466a0e
mov edx, dword [ebp + 0xc]
jmp 0x466a14
mov eax, dword [ebp + 0xc]
lea ebx, [eax + 1]
cmp ebx, edx
jl 0x4669e7
mov eax, dword [esi + 0xc]
test eax, eax
je case.0x466520.8
cmp dword [ebp + 0x10], 0
movsd xmm0, qword [eax]
movsd qword [ebp - 0x2c], xmm0
jne 0x466a9d
cmp ebx, edi
jge 0x466d9a
mov eax, 0x3ff
lea edx, [ecx + 8]
sub eax, ebx
lea edx, [edx + ebx*8]
mov dword [ebp + 8], edx
lea ecx, [ecx + eax*4]
mov dword [ebp + 0x10], ecx
movsd xmm1, qword [edx]
comisd xmm1, xmm0
ja 0x466da3
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jp 0x466a72
cmp dword [ebp - 0x10], 0
je 0x466da3
push dword [ecx]
lea ecx, [esi + 0x1c]
call fcn.0046ad01
mov edx, dword [ebp + 8]
inc ebx
mov ecx, dword [ebp + 0x10]
add edx, 8
movsd xmm0, qword [ebp - 0x2c]
sub ecx, 4
mov dword [ebp + 8], edx
mov dword [ebp + 0x10], ecx
cmp ebx, edi
jl 0x466a50
jmp 0x466d9a
mov edx, dword [ebp + 8]
lea eax, [edx + 0x60]
mov dword [ebp - 0x14], eax
lea eax, [ecx + 8]
lea eax, [eax + ebx*8]
mov dword [ebp - 0x1c], eax
mov eax, 0x3ff
sub eax, ebx
lea ecx, [ecx + eax*4]
mov dword [ebp + 0xc], ecx
push dword [ecx]
mov ecx, edx
call fcn.004656cd
push dword [ebp + 0x10]
mov ecx, eax
mov dword [ebp - 0x18], eax
push esi
push dword [ebp + 8]
call fcn.004664e3
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
test al, al
je 0x466d9e
call fcn.0046f51b
cmp ebx, edi
je 0x466d9a
mov eax, dword [ebp - 0x1c]
inc ebx
mov ecx, dword [ebp + 0xc]
movsd xmm1, qword [ebp - 0x2c]
sub ecx, 4
mov dword [ebp + 0xc], ecx
movsd xmm0, qword [eax]
add eax, 8
comisd xmm1, xmm0
mov dword [ebp - 0x1c], eax
jb 0x466da3
mov edx, dword [ebp + 8]
jmp 0x466abc
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x466b84
test edi, edi
jle 0x466b84
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
lea edi, [edx + ebx]
sar edi, 1
movzx esi, word [ecx + edi*8 + 0xc]
cmp dword [ebp - 0x1c], esi
mov eax, esi
cmovb eax, dword [ebp - 0x1c]
push eax
movzx eax, word [ecx + edi*8 + 0xe]
add ecx, 8
add eax, ecx
push eax
push dword [ebp - 0x20]
call fcn.0049821d
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov edx, dword [ebp - 0x14]
sub ecx, esi
test eax, eax
cmovne ecx, eax
lea eax, [edi + 1]
cmp ecx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
cmovl eax, ebx
cmovl edx, edi
mov ebx, eax
mov dword [ebp - 0x14], edx
cmp ebx, edx
jl 0x466b2f
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0xc], 0
je 0x466c8d
cmp dword [ebp + 0x10], 0
jne 0x466c04
cmp ebx, edi
jge 0x466d9a
lea esi, [ebx*8 + 0xe]
add esi, ecx
mov dword [ebp + 8], esi
mov edx, dword [ebp + 0xc]
movzx esi, word [esi - 2]
mov eax, dword [edx + 0x10]
cmp esi, eax
cmovb eax, esi
push eax
mov eax, dword [ebp + 8]
push dword [edx + 0xc]
movzx eax, word [eax]
add eax, 8
add eax, ecx
push eax
call fcn.0049821d
mov ecx, dword [ebp + 0xc]
add esp, 0xc
sub esi, dword [ecx + 0x10]
test eax, eax
cmovne esi, eax
cmp esi, dword [ebp - 0x10]
jge 0x466da3
mov esi, dword [ebp + 8]
add ecx, 0x1c
push dword [esi - 6]
call fcn.0046ad01
mov ecx, dword [ebp - 0xc]
inc ebx
add esi, 8
mov dword [ebp + 8], esi
cmp ebx, edi
jl 0x466ba8
jmp 0x466d9a
mov eax, dword [ebp + 8]
lea edx, [eax + 0x60]
mov dword [ebp - 0x18], edx
push dword [ecx + ebx*8 + 8]
mov ecx, eax
call fcn.004656cd
push dword [ebp + 0x10]
mov ecx, eax
mov dword [ebp - 0x1c], eax
push esi
push dword [ebp + 8]
call fcn.004664e3
mov ecx, dword [ebp - 0x18]
push dword [ebp - 0x1c]
test al, al
je 0x466d9e
call fcn.0046f51b
cmp ebx, edi
je 0x466d9a
mov ecx, dword [ebp - 0xc]
inc ebx
mov edx, dword [ebp + 0xc]
movzx esi, word [ecx + ebx*8 + 4]
mov eax, dword [edx + 0x10]
cmp esi, eax
cmovb eax, esi
push eax
movzx eax, word [ecx + ebx*8 + 6]
add ecx, 8
push dword [edx + 0xc]
add eax, ecx
push eax
call fcn.0049821d
mov ecx, dword [ebp + 0xc]
add esp, 0xc
sub esi, dword [ecx + 0x10]
test eax, eax
cmovne esi, eax
test esi, esi
jg 0x466da3
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
jmp 0x466c0d
cmp dword [ebp + 0x10], 0
jne 0x466cc2
cmp ebx, edi
jge 0x466d9a
lea eax, [esi + 0x1c]
sub edi, ebx
lea esi, [ebx + 1]
mov dword [ebp + 8], eax
lea esi, [ecx + esi*8]
push dword [esi]
mov ecx, eax
call fcn.0046ad01
mov eax, dword [ebp + 8]
lea esi, [esi + 8]
sub edi, 1
jne 0x466ca9
jmp 0x466d9a
mov edx, dword [ebp + 8]
lea eax, [edx + 0x60]
mov dword [ebp - 0x18], eax
lea eax, [ebx + 1]
lea eax, [ecx + eax*8]
mov dword [ebp + 0xc], eax
push dword [eax]
mov ecx, edx
call fcn.004656cd
push dword [ebp + 0x10]
mov ecx, eax
mov dword [ebp - 0x1c], eax
push esi
push dword [ebp + 8]
call fcn.004664e3
mov ecx, dword [ebp - 0x18]
push dword [ebp - 0x1c]
test al, al
je 0x466d9e
call fcn.0046f51b
mov eax, dword [ebp + 0xc]
inc ebx
add eax, 8
mov dword [ebp + 0xc], eax
cmp ebx, edi
jg 0x466d9a
mov edx, dword [ebp + 8]
jmp 0x466cd4
cmp dword [ebp + 0x10], 0
jne 0x466d4a
cmp ebx, edi
jge 0x466d9a
mov eax, 0x3ff
lea edx, [esi + 0x1c]
sub eax, ebx
mov dword [ebp + 8], edx
sub edi, ebx
lea esi, [ecx + eax*4]
push dword [esi]
mov ecx, edx
call fcn.0046ad01
mov edx, dword [ebp + 8]
lea esi, [esi - 4]
sub edi, 1
jne 0x466d34
jmp 0x466d9a
mov edx, dword [ebp + 8]
lea eax, [edx + 0x60]
mov dword [ebp - 0x18], eax
mov eax, 0x3ff
sub eax, ebx
lea eax, [ecx + eax*4]
mov dword [ebp + 0xc], eax
push dword [eax]
mov ecx, edx
call fcn.004656cd
push dword [ebp + 0x10]
mov ecx, eax
mov dword [ebp - 0x1c], eax
push esi
push dword [ebp + 8]
call fcn.004664e3
mov ecx, dword [ebp - 0x18]
push dword [ebp - 0x1c]
test al, al
je 0x466d9e
call fcn.0046f51b
mov eax, dword [ebp + 0xc]
inc ebx
mov edx, dword [ebp + 8]
sub eax, 4
mov dword [ebp + 0xc], eax
cmp ebx, edi
jle 0x466d60
mov al, 1
jmp 0x466da5
call fcn.0046f51b
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0xc