Function at 0x461d7a
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.0x461db7.8
movzx eax, byte [eax + 0x462662]
jmp dword [eax*4 + 0x462646]
mov eax, dword [esi]
test eax, eax
je 0x461ded
mov eax, dword [eax]
test edi, edi
jle 0x461ded
mov edi, eax
lea eax, [edx + ebx]
sar eax, 1
cmp edi, dword [ecx + eax*4 + 8]
ja 0x461de3
jne 0x461ddf
cmp dword [esi + 8], 0
je 0x461de3
mov edx, eax
jmp 0x461de6
lea ebx, [eax + 1]
cmp ebx, edx
jl 0x461dcc
mov edi, dword [ebp - 0x18]
mov eax, dword [esi + 0xc]
test eax, eax
je case.0x461db7.8
cmp dword [ebp + 0x10], 0
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jne 0x461e5e
cmp ebx, edi
jge 0x462632
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 0x46263b
jne 0x461e38
cmp dword [ebp - 0x10], 0
je 0x46263b
push dword [eax]
lea ecx, [esi + 0x1c]
call fcn.00466284
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 0x461e21
jmp 0x462632
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.004616ea
push dword [ebp + 0x10]
mov ecx, eax
mov dword [ebp - 0x10], eax
push esi
push dword [ebp + 8]
call fcn.00461d7a
mov ecx, dword [ebp - 0xc]
push dword [ebp - 0x10]
test al, al
je 0x462636
call fcn.0046a9e5
cmp ebx, edi
je 0x462632
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 0x46263b
mov edx, dword [ebp + 8]
jmp 0x461e7d
mov eax, dword [esi]
test eax, eax
je 0x461f17
mov al, byte [eax]
mov byte [ebp + 0xf], al
test edi, edi
jle 0x461f17
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 0x461f10
mov cl, byte [ebp + 0xf]
cmp cl, byte [ebp - 5]
mov ecx, dword [ebp - 0xc]
jne 0x461f09
cmp dword [esi + 8], 0
je 0x461f10
mov edx, eax
mov dword [ebp - 0x14], edx
jmp 0x461f13
lea ebx, [eax + 1]
cmp ebx, edx
jl 0x461ee4
mov eax, dword [esi + 0xc]
test eax, eax
je case.0x461db7.8
cmp dword [ebp + 0x10], 0
mov dl, byte [eax]
mov byte [ebp + 0xf], dl
jne 0x461f7d
cmp ebx, edi
jge 0x462632
mov eax, 0x3ff
sub eax, ebx
lea eax, [ecx + eax*4]
mov dword [ebp + 8], eax
mov cl, byte [ecx + ebx + 8]
cmp cl, dl
jg 0x46263b
jne 0x461f5a
cmp dword [ebp - 0x10], 0
je 0x46263b
push dword [eax]
lea ecx, [esi + 0x1c]
call fcn.00466284
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 0x461f42
jmp 0x462632
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.004616ea
push dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, eax
push esi
push edx
mov dword [ebp - 0x10], eax
call fcn.00461d7a
mov ecx, dword [ebp - 0xc]
push dword [ebp - 0x10]
test al, al
je 0x462636
call fcn.0046a9e5
cmp ebx, edi
je 0x462632
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 0x461f9b
jmp 0x46263b
mov eax, dword [esi]
test eax, eax
je 0x46201e
mov eax, dword [eax]
test edi, edi
jle 0x46201e
mov edi, eax
lea eax, [edx + ebx]
sar eax, 1
cmp edi, dword [ecx + eax*4 + 8]
jg 0x462014
jne 0x462010
cmp dword [esi + 8], 0
je 0x462014
mov edx, eax
jmp 0x462017
lea ebx, [eax + 1]
cmp ebx, edx
jl 0x461ffd
mov edi, dword [ebp - 0x18]
mov eax, dword [esi + 0xc]
test eax, eax
je case.0x461db7.8
cmp dword [ebp + 0x10], 0
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jne 0x46208f
cmp ebx, edi
jge 0x462632
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 0x46263b
jne 0x462069
cmp dword [ebp - 0x10], 0
je 0x46263b
push dword [eax]
lea ecx, [esi + 0x1c]
call fcn.00466284
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 0x462052
jmp 0x462632
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.004616ea
push dword [ebp + 0x10]
mov ecx, eax
mov dword [ebp - 0x10], eax
push esi
push dword [ebp + 8]
call fcn.00461d7a
mov ecx, dword [ebp - 0xc]
push dword [ebp - 0x10]
test al, al
je 0x462636
call fcn.0046a9e5
cmp ebx, edi
je 0x462632
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 0x46263b
mov edx, dword [ebp + 8]
jmp 0x4620ae
mov eax, dword [esi]
test eax, eax
je 0x462160
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 0x462160
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 0x462156
jl 0x46213a
cmp edi, dword [ecx + eax*8 + 8]
ja 0x462156
cmp edi, dword [ecx + eax*8 + 8]
jne 0x462152
mov edi, dword [ebp - 0x14]
cmp edi, dword [ecx + eax*8 + 0xc]
mov edi, dword [ebp - 0xc]
jne 0x462152
cmp dword [esi + 8], 0
je 0x462156
mov edx, eax
jmp 0x462159
lea ebx, [eax + 1]
cmp ebx, edx
jl 0x462121
mov edi, dword [ebp - 0x18]
mov eax, dword [esi + 0xc]
test eax, eax
je case.0x461db7.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 0x4621ef
cmp ebx, edi
jge 0x462632
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 0x46263b
mov ecx, dword [ebp - 0x18]
jl 0x4621b3
cmp dword [edx], ecx
ja 0x46263b
cmp dword [edx], ecx
jne 0x4621c9
mov ecx, dword [ebp + 0xc]
cmp dword [edx + 4], ecx
jne 0x4621c9
cmp dword [ebp - 0x10], 0
je 0x46263b
push dword [eax]
lea ecx, [esi + 0x1c]
call fcn.00466284
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 0x46219a
jmp 0x462632
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.004616ea
push dword [ebp + 0x10]
mov ecx, eax
mov dword [ebp - 0xc], eax
push esi
push dword [ebp + 8]
call fcn.00461d7a
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0xc]
test al, al
je 0x462636
call fcn.0046a9e5
cmp ebx, edi
je 0x462632
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 0x46263b
jl 0x46226a
cmp edx, dword [ebp - 0x18]
ja 0x46263b
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
jmp 0x46220e
mov eax, dword [esi]
test eax, eax
je 0x4622b1
movsd xmm0, qword [eax]
test edi, edi
jle 0x4622b1
lea eax, [edx + ebx]
sar eax, 1
mov dword [ebp + 0xc], eax
comisd xmm0, xmmword [ecx + eax*8 + 8]
ja 0x4622aa
ucomisd xmm0, qword [ecx + eax*8 + 8]
lahf
test ah, 0x44
jp 0x4622a2
cmp dword [esi + 8], 0
je 0x4622a7
mov edx, dword [ebp + 0xc]
jmp 0x4622ad
mov eax, dword [ebp + 0xc]
lea ebx, [eax + 1]
cmp ebx, edx
jl 0x462280
mov eax, dword [esi + 0xc]
test eax, eax
je case.0x461db7.8
cmp dword [ebp + 0x10], 0
movsd xmm0, qword [eax]
movsd qword [ebp - 0x2c], xmm0
jne 0x462336
cmp ebx, edi
jge 0x462632
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 0x46263b
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jp 0x46230b
cmp dword [ebp - 0x10], 0
je 0x46263b
push dword [ecx]
lea ecx, [esi + 0x1c]
call fcn.00466284
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 0x4622e9
jmp 0x462632
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 eax, [ecx + eax*4]
mov dword [ebp + 0xc], eax
push dword [eax]
mov ecx, edx
call fcn.004616ea
push dword [ebp + 0x10]
mov ecx, eax
mov dword [ebp - 0x18], eax
push esi
push dword [ebp + 8]
call fcn.00461d7a
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
test al, al
je 0x462636
call fcn.0046a9e5
cmp ebx, edi
je 0x462632
mov ecx, dword [ebp - 0x1c]
inc ebx
mov eax, dword [ebp + 0xc]
movsd xmm1, qword [ebp - 0x2c]
sub eax, 4
mov dword [ebp + 0xc], eax
movsd xmm0, qword [ecx]
add ecx, 8
comisd xmm1, xmm0
mov dword [ebp - 0x1c], ecx
jb 0x46263b
mov edx, dword [ebp + 8]
jmp 0x462355
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x46241d
test edi, edi
jle 0x46241d
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.00493207
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 0x4623c8
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0xc], 0
je 0x462525
cmp dword [ebp + 0x10], 0
jne 0x46249d
cmp ebx, edi
jge 0x462632
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.00493207
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 0x46263b
mov esi, dword [ebp + 8]
add ecx, 0x1c
push dword [esi - 6]
call fcn.00466284
mov ecx, dword [ebp - 0xc]
inc ebx
add esi, 8
mov dword [ebp + 8], esi
cmp ebx, edi
jl 0x462441
jmp 0x462632
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.004616ea
push dword [ebp + 0x10]
mov ecx, eax
mov dword [ebp - 0x1c], eax
push esi
push dword [ebp + 8]
call fcn.00461d7a
mov ecx, dword [ebp - 0x18]
push dword [ebp - 0x1c]
test al, al
je 0x462636
call fcn.0046a9e5
cmp ebx, edi
je 0x462632
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.00493207
mov ecx, dword [ebp + 0xc]
add esp, 0xc
sub esi, dword [ecx + 0x10]
test eax, eax
mov ecx, dword [ebp - 0xc]
cmovne esi, eax
mov eax, dword [ebp + 8]
test esi, esi
mov esi, dword [ebp + 0xc]
jle 0x4624a6
jmp 0x46263b
cmp dword [ebp + 0x10], 0
jne 0x46255a
cmp ebx, edi
jge 0x462632
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.00466284
mov eax, dword [ebp + 8]
lea esi, [esi + 8]
sub edi, 1
jne 0x462541
jmp 0x462632
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.004616ea
push dword [ebp + 0x10]
mov ecx, eax
mov dword [ebp - 0x1c], eax
push esi
push dword [ebp + 8]
call fcn.00461d7a
mov ecx, dword [ebp - 0x18]
push dword [ebp - 0x1c]
test al, al
je 0x462636
call fcn.0046a9e5
mov eax, dword [ebp + 0xc]
inc ebx
add eax, 8
mov dword [ebp + 0xc], eax
cmp ebx, edi
jg 0x462632
mov edx, dword [ebp + 8]
jmp 0x46256c
cmp dword [ebp + 0x10], 0
jne 0x4625e2
cmp ebx, edi
jge 0x462632
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.00466284
mov edx, dword [ebp + 8]
lea esi, [esi - 4]
sub edi, 1
jne 0x4625cc
jmp 0x462632
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.004616ea
push dword [ebp + 0x10]
mov ecx, eax
mov dword [ebp - 0x1c], eax
push esi
push dword [ebp + 8]
call fcn.00461d7a
mov ecx, dword [ebp - 0x18]
push dword [ebp - 0x1c]
test al, al
je 0x462636
call fcn.0046a9e5
mov eax, dword [ebp + 0xc]
inc ebx
mov edx, dword [ebp + 8]
sub eax, 4
mov dword [ebp + 0xc], eax
cmp ebx, edi
jle 0x4625f8
mov al, 1
jmp 0x46263d
call fcn.0046a9e5
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0xc